Package com.adobe.xfa.configuration
Class ConfigurationSchema
java.lang.Object
com.adobe.xfa.Schema
com.adobe.xfa.configuration.ConfigurationSchema
This class defines the valid node relationships in XFA Configuration.
It also provides interfaces to determine the default values for attributes.
-
Field Summary
Fields inherited from class com.adobe.xfa.Schema
XFAAVAILABILITY_ALL, XFAAVAILABILITY_CORE, XFAAVAILABILITY_DEPRECATED, XFAAVAILABILITY_DYNAMIC, XFAAVAILABILITY_PLUGIN, XFAAVAILABILITY_XFADESIGNER, XFAAVAILABILITY_XFAF, XFAAVAILABILITY_XFASUBSET, XFAVERSION_10, XFAVERSION_21, XFAVERSION_22, XFAVERSION_23, XFAVERSION_24, XFAVERSION_25, XFAVERSION_26, XFAVERSION_27, XFAVERSION_28, XFAVERSION_29, XFAVERSION_30, XFAVERSION_31, XFAVERSION_32, XFAVERSION_33, XFAVERSION_34, XFAVERSION_35, XFAVERSION_CONFIGURATIONHEAD, XFAVERSION_CONNECTIONSETHEAD, XFAVERSION_HEAD, XFAVERSION_LOCALESETHEAD, XFAVERSION_OBS, XFAVERSION_SOURCESETHEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefaultAttribute(int eAttrTag, int eClassTag) Return a default attribute valuenewAttribute(int eAttrTag, String value, int eClassTag) Create a new attribute value.printConfigSchema(String sSchemaName, String sUri, boolean bWriteToStdout) Print out the default configuration schema.Methods inherited from class com.adobe.xfa.Schema
addForeignSchema, getAtom, getAttributeTag, getElementTag, getInstance, getNodeSchema, getNS, nullSchema, putForeignElement
-
Constructor Details
-
ConfigurationSchema
public ConfigurationSchema()Default constructor.
-
-
Method Details
-
defaultAttribute
Description copied from class:SchemaReturn a default attribute value- Overrides:
defaultAttributein classSchema- Parameters:
eAttrTag- the name of the attribute. For efficiency, this name should come from XFANamespaceeClassTag- Identify which schema element this attribute belongs to- Returns:
- The default value for this attribute.
-
newAttribute
Create a new attribute value.- Overrides:
newAttributein classSchema- Parameters:
eAttrTag- The name of the attribute to create. For efficiency, this name should come from XFANamespacevalue- the value to assign to the new attributeeClassTag- Identify which schema element this attribute belongs to- Returns:
- a new Attribute.
-
printConfigSchema
Print out the default configuration schema.- Parameters:
sSchemaName- the schema to print.sUri- the file name.bWriteToStdout- do we write to stdout when sUri is null.- Returns:
- returns the configuration schema.
-