Class PNMMetadataFormat
java.lang.Object
javax.imageio.metadata.IIOMetadataFormatImpl
com.github.jaiimageio.impl.plugins.pnm.PNMMetadataFormat
- All Implemented Interfaces:
IIOMetadataFormat
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static PNMMetadataFormat
private static Hashtable
The table to link the child to its parent.(package private) String
Fields inherited from class javax.imageio.metadata.IIOMetadataFormatImpl
standardMetadataFormatName
Fields inherited from interface javax.imageio.metadata.IIOMetadataFormat
CHILD_POLICY_ALL, CHILD_POLICY_CHOICE, CHILD_POLICY_EMPTY, CHILD_POLICY_MAX, CHILD_POLICY_REPEAT, CHILD_POLICY_SEQUENCE, CHILD_POLICY_SOME, DATATYPE_BOOLEAN, DATATYPE_DOUBLE, DATATYPE_FLOAT, DATATYPE_INTEGER, DATATYPE_STRING, VALUE_ARBITRARY, VALUE_ENUMERATION, VALUE_LIST, VALUE_NONE, VALUE_RANGE, VALUE_RANGE_MAX_INCLUSIVE, VALUE_RANGE_MAX_INCLUSIVE_MASK, VALUE_RANGE_MIN_INCLUSIVE, VALUE_RANGE_MIN_INCLUSIVE_MASK, VALUE_RANGE_MIN_MAX_INCLUSIVE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
Adds the elements into this format object based on the XML schema and DTD.boolean
canNodeAppear
(String elementName, ImageTypeSpecifier imageType) static PNMMetadataFormat
Methods inherited from class javax.imageio.metadata.IIOMetadataFormatImpl
addAttribute, addAttribute, addAttribute, addAttribute, addBooleanAttribute, addChildElement, addElement, addElement, addObjectValue, addObjectValue, addObjectValue, addObjectValue, getAttributeDataType, getAttributeDefaultValue, getAttributeDescription, getAttributeEnumerations, getAttributeListMaxLength, getAttributeListMinLength, getAttributeMaxValue, getAttributeMinValue, getAttributeNames, getAttributeValueType, getChildNames, getChildPolicy, getElementDescription, getElementMaxChildren, getElementMinChildren, getObjectArrayMaxLength, getObjectArrayMinLength, getObjectClass, getObjectDefaultValue, getObjectEnumerations, getObjectMaxValue, getObjectMinValue, getObjectValueType, getResourceBaseName, getRootName, getStandardFormatInstance, isAttributeRequired, removeAttribute, removeElement, removeObjectValue, setResourceBaseName
-
Field Details
-
parents
The table to link the child to its parent. -
instance
-
resourceBaseName
String resourceBaseName
-
-
Constructor Details
-
PNMMetadataFormat
PNMMetadataFormat()ConstructsPNMMetadataFormat
. Calls the super class constructor. Sets the resource base name. Adds the elements into this format object based on the XML schema and DTD.
-
-
Method Details
-
getInstance
-
addElements
private void addElements()Adds the elements into this format object based on the XML schema and DTD. -
getParent
-
canNodeAppear
- Specified by:
canNodeAppear
in interfaceIIOMetadataFormat
- Specified by:
canNodeAppear
in classIIOMetadataFormatImpl
-