Package com.adobe.xfa
Class ImagingBBoxEnum
- java.lang.Object
-
- com.adobe.xfa.Attribute
-
- com.adobe.xfa.ImagingBBoxEnum
-
public final class ImagingBBoxEnum extends Attribute
A type-safe enumeration class of the XFA ImagingBBox attribute. The enum also allows four comma space measurements.
-
-
Constructor Summary
Constructors Constructor Description ImagingBBoxEnum(java.lang.String name, java.lang.String value)Construct an ImagingBBoxEnumfrom a string value.ImagingBBoxEnum(java.lang.String NS, java.lang.String localName, java.lang.String qName, java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributenewAttribute(java.lang.String value)Create a new attribute, given a new valueAttributenewAttribute(java.lang.String NS, java.lang.String localName, java.lang.String qName, java.lang.String value)Create a new attribute, given all attribute parametersAttributenewAttribute(java.lang.String NS, java.lang.String localName, java.lang.String qName, java.lang.String value, boolean internSymbols)Create a new attribute, given all attribute parameters-
Methods inherited from class com.adobe.xfa.Attribute
getAttrValue, getLocalName, getName, getNS, getPrefix, getQName, isEmpty, isNameSpaceAttr, isSchemaAttr, isXSINilAttr, normalize, toString
-
-
-
-
Constructor Detail
-
ImagingBBoxEnum
public ImagingBBoxEnum(java.lang.String NS, java.lang.String localName, java.lang.String qName, java.lang.String value)
-
ImagingBBoxEnum
public ImagingBBoxEnum(java.lang.String name, java.lang.String value)Construct an ImagingBBoxEnumfrom a string value.- Parameters:
name- a string corresponding to one of the enumerated values- Throws:
InvalidPropertyValueException- if we're given an invalid value.
-
-
Method Detail
-
newAttribute
public Attribute newAttribute(java.lang.String value)
Description copied from class:AttributeCreate a new attribute, given a new value- Specified by:
newAttributein classAttribute- Parameters:
value- the string to use to create the new attribute- Returns:
- a new attribute
-
newAttribute
public Attribute newAttribute(java.lang.String NS, java.lang.String localName, java.lang.String qName, java.lang.String value)
Description copied from class:AttributeCreate a new attribute, given all attribute parameters- Specified by:
newAttributein classAttribute- Parameters:
NS- the namespace for this attributelocalName- the local name for this attributeqName- the qualified name for this attributevalue- the string to use to create the new attribute- Returns:
- a new attribute
-
newAttribute
public Attribute newAttribute(java.lang.String NS, java.lang.String localName, java.lang.String qName, java.lang.String value, boolean internSymbols)
Description copied from class:AttributeCreate a new attribute, given all attribute parameters- Specified by:
newAttributein classAttribute- Parameters:
NS- the namespace for this attributelocalName- the local name for this attributeqName- the qualified name for this attributevalue- the string to use to create the new attributeinternSymbols- indicates whether the symbols in other parameters need to be interned.- Returns:
- a new attribute
-
-