blob: f0cc32bdb814863c2610b561e12f6ee368ff7bb2 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_45) on Tue Mar 28 22:12:02 CEST 2017 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
OdfPackageConstraint (ODFDOM API v0.8.11-incubating - http://incubator.apache.org/odftoolkit/)
</TITLE>
<META NAME="date" CONTENT="2017-03-28">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="OdfPackageConstraint (ODFDOM API v0.8.11-incubating - http://incubator.apache.org/odftoolkit/)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/OdfPackageConstraint.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackage.OdfFile.html" title="enum in org.odftoolkit.odfdom.pkg"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageDocument.html" title="class in org.odftoolkit.odfdom.pkg"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="OdfPackageConstraint.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#enum_constant_summary">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#enum_constant_detail">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.odftoolkit.odfdom.pkg</FONT>
<BR>
Enum OdfPackageConstraint</H2>
<PRE>
<A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</A>&lt;<A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html" title="enum in org.odftoolkit.odfdom.pkg">OdfPackageConstraint</A>&gt;
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.odftoolkit.odfdom.pkg.OdfPackageConstraint</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A>&lt;<A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html" title="enum in org.odftoolkit.odfdom.pkg">OdfPackageConstraint</A>&gt;, <A HREF="../../../../org/odftoolkit/odfdom/pkg/ValidationConstraint.html" title="interface in org.odftoolkit.odfdom.pkg">ValidationConstraint</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public enum <B>OdfPackageConstraint</B><DT>extends <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A>&lt;<A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html" title="enum in org.odftoolkit.odfdom.pkg">OdfPackageConstraint</A>&gt;<DT>implements <A HREF="../../../../org/odftoolkit/odfdom/pkg/ValidationConstraint.html" title="interface in org.odftoolkit.odfdom.pkg">ValidationConstraint</A></DL>
</PRE>
<P>
This class is used for validation of the ODF Package.
It contains the constraint messages are taken from the OASIS ODF 1.2 part 3, the ODF package specification.
These messages are used by the <code>ValidationException</code> for ODF validation.
The validation is enabled, when an <code>ErrorHandler</code> was provided to the <code>OdfPackage</code>.
<P>
<P>
<HR>
<P>
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
<A NAME="enum_constant_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Enum Constant Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html#MANIFEST_DOES_NOT_LIST_DIRECTORY">MANIFEST_DOES_NOT_LIST_DIRECTORY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A directory is a document and should be listed in the \"/META-INF/manifest.xml\" file of ODF package.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html#MANIFEST_DOES_NOT_LIST_FILE">MANIFEST_DOES_NOT_LIST_FILE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A file shall be listed in the \"/META-INF/manifest.xml\" file as it exists in the ODF package.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html#MANIFEST_LISTS_DIRECTORY">MANIFEST_LISTS_DIRECTORY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A directory is not a sub-document and should not be listed in the \"/META-INF/manifest.xml\" file of ODF package.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html#MANIFEST_LISTS_NONEXISTENT_FILE">MANIFEST_LISTS_NONEXISTENT_FILE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A file shall not be listed in the \"/META-INF/manifest.xml\" file as it does not exist in the ODF package.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html#MANIFEST_NOT_IN_PACKAGE">MANIFEST_NOT_IN_PACKAGE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The ODF package shall contain the \"/META-INF/manifest.xml\" file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html#MANIFEST_WITH_EMPTY_PATH">MANIFEST_WITH_EMPTY_PATH</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The root document shall be listed in the \"/META-INF/manifest.xml\" file using a '/' as path within the ODF package.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html#MIMETYPE_DIFFERS_FROM_PACKAGE">MIMETYPE_DIFFERS_FROM_PACKAGE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The ODF package contains a \"mediatype\" file, which content differs from the mediatype of the root document!"</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html#MIMETYPE_HAS_EXTRA_FIELD">MIMETYPE_HAS_EXTRA_FIELD</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;There shall be no extra field for the \"mediatype\" file of ODF package.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html#MIMETYPE_IS_COMPRESSED">MIMETYPE_IS_COMPRESSED</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The file \"mediatype\" shall not be compressed in the ODF package.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html#MIMETYPE_NOT_FIRST_IN_PACKAGE">MIMETYPE_NOT_FIRST_IN_PACKAGE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The file \"mediatype\" is not the first file in the ODF package.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html#MIMETYPE_NOT_IN_PACKAGE">MIMETYPE_NOT_IN_PACKAGE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The ODF package contains no \"mediatype\" file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html#MIMETYPE_WITHOUT_MANIFEST_MEDIATYPE">MIMETYPE_WITHOUT_MANIFEST_MEDIATYPE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The ODF package contains a \"mediatype\" file, but no mediatype its root document in the \"/META-INF/manifest.xml\" file of ODF package!</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html#PACKAGE_ENTRY_USING_INVALID_COMPRESSION">PACKAGE_ENTRY_USING_INVALID_COMPRESSION</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;In case a ZIP entry is using neither STORED and DEFLATED as compression method.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html#PACKAGE_IS_NO_ZIP">PACKAGE_IS_NO_ZIP</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The ODF package shall be a ZIP file.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html#getLocalizedMessage()">getLocalizedMessage</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a localized description of a Constraint.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html#getMessage()">getMessage</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the detail message string of this Constraint.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html" title="enum in org.odftoolkit.odfdom.pkg">OdfPackageConstraint</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html#valueOf(java.lang.String)">valueOf</A></B>(<A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the enum constant of this type with the specified name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html" title="enum in org.odftoolkit.odfdom.pkg">OdfPackageConstraint</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html#values()">values</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array containing the constants of this enum type, in
the order they are declared.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Enum"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#compareTo(E)" title="class or interface in java.lang">compareTo</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass()" title="class or interface in java.lang">getDeclaringClass</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#name()" title="class or interface in java.lang">name</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#ordinal()" title="class or interface in java.lang">ordinal</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#valueOf(java.lang.Class, java.lang.String)" title="class or interface in java.lang">valueOf</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ ENUM CONSTANT DETAIL =========== -->
<A NAME="enum_constant_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Enum Constant Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="PACKAGE_ENTRY_USING_INVALID_COMPRESSION"><!-- --></A><H3>
PACKAGE_ENTRY_USING_INVALID_COMPRESSION</H3>
<PRE>
public static final <A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html" title="enum in org.odftoolkit.odfdom.pkg">OdfPackageConstraint</A> <B>PACKAGE_ENTRY_USING_INVALID_COMPRESSION</B></PRE>
<DL>
<DD>In case a ZIP entry is using neither STORED and DEFLATED as compression method.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="MANIFEST_NOT_IN_PACKAGE"><!-- --></A><H3>
MANIFEST_NOT_IN_PACKAGE</H3>
<PRE>
public static final <A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html" title="enum in org.odftoolkit.odfdom.pkg">OdfPackageConstraint</A> <B>MANIFEST_NOT_IN_PACKAGE</B></PRE>
<DL>
<DD>The ODF package shall contain the \"/META-INF/manifest.xml\" file.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="MANIFEST_LISTS_DIRECTORY"><!-- --></A><H3>
MANIFEST_LISTS_DIRECTORY</H3>
<PRE>
public static final <A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html" title="enum in org.odftoolkit.odfdom.pkg">OdfPackageConstraint</A> <B>MANIFEST_LISTS_DIRECTORY</B></PRE>
<DL>
<DD>A directory is not a sub-document and should not be listed in the \"/META-INF/manifest.xml\" file of ODF package.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="MANIFEST_DOES_NOT_LIST_DIRECTORY"><!-- --></A><H3>
MANIFEST_DOES_NOT_LIST_DIRECTORY</H3>
<PRE>
public static final <A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html" title="enum in org.odftoolkit.odfdom.pkg">OdfPackageConstraint</A> <B>MANIFEST_DOES_NOT_LIST_DIRECTORY</B></PRE>
<DL>
<DD>A directory is a document and should be listed in the \"/META-INF/manifest.xml\" file of ODF package.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="MANIFEST_LISTS_NONEXISTENT_FILE"><!-- --></A><H3>
MANIFEST_LISTS_NONEXISTENT_FILE</H3>
<PRE>
public static final <A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html" title="enum in org.odftoolkit.odfdom.pkg">OdfPackageConstraint</A> <B>MANIFEST_LISTS_NONEXISTENT_FILE</B></PRE>
<DL>
<DD>A file shall not be listed in the \"/META-INF/manifest.xml\" file as it does not exist in the ODF package.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="MANIFEST_DOES_NOT_LIST_FILE"><!-- --></A><H3>
MANIFEST_DOES_NOT_LIST_FILE</H3>
<PRE>
public static final <A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html" title="enum in org.odftoolkit.odfdom.pkg">OdfPackageConstraint</A> <B>MANIFEST_DOES_NOT_LIST_FILE</B></PRE>
<DL>
<DD>A file shall be listed in the \"/META-INF/manifest.xml\" file as it exists in the ODF package.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="MIMETYPE_DIFFERS_FROM_PACKAGE"><!-- --></A><H3>
MIMETYPE_DIFFERS_FROM_PACKAGE</H3>
<PRE>
public static final <A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html" title="enum in org.odftoolkit.odfdom.pkg">OdfPackageConstraint</A> <B>MIMETYPE_DIFFERS_FROM_PACKAGE</B></PRE>
<DL>
<DD>The ODF package contains a \"mediatype\" file, which content differs from the mediatype of the root document!"
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="MIMETYPE_WITHOUT_MANIFEST_MEDIATYPE"><!-- --></A><H3>
MIMETYPE_WITHOUT_MANIFEST_MEDIATYPE</H3>
<PRE>
public static final <A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html" title="enum in org.odftoolkit.odfdom.pkg">OdfPackageConstraint</A> <B>MIMETYPE_WITHOUT_MANIFEST_MEDIATYPE</B></PRE>
<DL>
<DD>The ODF package contains a \"mediatype\" file, but no mediatype its root document in the \"/META-INF/manifest.xml\" file of ODF package!
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="MANIFEST_WITH_EMPTY_PATH"><!-- --></A><H3>
MANIFEST_WITH_EMPTY_PATH</H3>
<PRE>
public static final <A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html" title="enum in org.odftoolkit.odfdom.pkg">OdfPackageConstraint</A> <B>MANIFEST_WITH_EMPTY_PATH</B></PRE>
<DL>
<DD>The root document shall be listed in the \"/META-INF/manifest.xml\" file using a '/' as path within the ODF package.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="MIMETYPE_HAS_EXTRA_FIELD"><!-- --></A><H3>
MIMETYPE_HAS_EXTRA_FIELD</H3>
<PRE>
public static final <A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html" title="enum in org.odftoolkit.odfdom.pkg">OdfPackageConstraint</A> <B>MIMETYPE_HAS_EXTRA_FIELD</B></PRE>
<DL>
<DD>There shall be no extra field for the \"mediatype\" file of ODF package.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="MIMETYPE_IS_COMPRESSED"><!-- --></A><H3>
MIMETYPE_IS_COMPRESSED</H3>
<PRE>
public static final <A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html" title="enum in org.odftoolkit.odfdom.pkg">OdfPackageConstraint</A> <B>MIMETYPE_IS_COMPRESSED</B></PRE>
<DL>
<DD>The file \"mediatype\" shall not be compressed in the ODF package.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="MIMETYPE_NOT_FIRST_IN_PACKAGE"><!-- --></A><H3>
MIMETYPE_NOT_FIRST_IN_PACKAGE</H3>
<PRE>
public static final <A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html" title="enum in org.odftoolkit.odfdom.pkg">OdfPackageConstraint</A> <B>MIMETYPE_NOT_FIRST_IN_PACKAGE</B></PRE>
<DL>
<DD>The file \"mediatype\" is not the first file in the ODF package.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="MIMETYPE_NOT_IN_PACKAGE"><!-- --></A><H3>
MIMETYPE_NOT_IN_PACKAGE</H3>
<PRE>
public static final <A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html" title="enum in org.odftoolkit.odfdom.pkg">OdfPackageConstraint</A> <B>MIMETYPE_NOT_IN_PACKAGE</B></PRE>
<DL>
<DD>The ODF package contains no \"mediatype\" file.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="PACKAGE_IS_NO_ZIP"><!-- --></A><H3>
PACKAGE_IS_NO_ZIP</H3>
<PRE>
public static final <A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html" title="enum in org.odftoolkit.odfdom.pkg">OdfPackageConstraint</A> <B>PACKAGE_IS_NO_ZIP</B></PRE>
<DL>
<DD>The ODF package shall be a ZIP file.
<P>
<DL>
</DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="values()"><!-- --></A><H3>
values</H3>
<PRE>
public static <A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html" title="enum in org.odftoolkit.odfdom.pkg">OdfPackageConstraint</A>[] <B>values</B>()</PRE>
<DL>
<DD>Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
<pre>
for (OdfPackageConstraint c : OdfPackageConstraint.values())
&nbsp; System.out.println(c);
</pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>an array containing the constants of this enum type, in
the order they are declared</DL>
</DD>
</DL>
<HR>
<A NAME="valueOf(java.lang.String)"><!-- --></A><H3>
valueOf</H3>
<PRE>
public static <A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html" title="enum in org.odftoolkit.odfdom.pkg">OdfPackageConstraint</A> <B>valueOf</B>(<A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</PRE>
<DL>
<DD>Returns the enum constant of this type with the specified name.
The string must match <I>exactly</I> an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned.
<DT><B>Returns:</B><DD>the enum constant with the specified name
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if this enum type has no constant
with the specified name
<DD><CODE><A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if the argument is null</DL>
</DD>
</DL>
<HR>
<A NAME="getLocalizedMessage()"><!-- --></A><H3>
getLocalizedMessage</H3>
<PRE>
public <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getLocalizedMessage</B>()</PRE>
<DL>
<DD>Creates a localized description of a Constraint.
Subclasses may override this method in order to produce a
locale-specific message. For subclasses that do not override this
method, the default implementation returns the same result as
<code>getMessage()</code>.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/odftoolkit/odfdom/pkg/ValidationConstraint.html#getLocalizedMessage()">getLocalizedMessage</A></CODE> in interface <CODE><A HREF="../../../../org/odftoolkit/odfdom/pkg/ValidationConstraint.html" title="interface in org.odftoolkit.odfdom.pkg">ValidationConstraint</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The localized description of this constraint.</DL>
</DD>
</DL>
<HR>
<A NAME="getMessage()"><!-- --></A><H3>
getMessage</H3>
<PRE>
public <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getMessage</B>()</PRE>
<DL>
<DD>Returns the detail message string of this Constraint.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/odftoolkit/odfdom/pkg/ValidationConstraint.html#getMessage()">getMessage</A></CODE> in interface <CODE><A HREF="../../../../org/odftoolkit/odfdom/pkg/ValidationConstraint.html" title="interface in org.odftoolkit.odfdom.pkg">ValidationConstraint</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the detail message string of this <tt>Constraint</tt> instance
(which may be <tt>null</tt>).</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/OdfPackageConstraint.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackage.OdfFile.html" title="enum in org.odftoolkit.odfdom.pkg"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/odftoolkit/odfdom/pkg/OdfPackageDocument.html" title="class in org.odftoolkit.odfdom.pkg"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/odftoolkit/odfdom/pkg/OdfPackageConstraint.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="OdfPackageConstraint.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#enum_constant_summary">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#enum_constant_detail">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright &#169; 2008-2017 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>