public final class ConfigurationSchema extends 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 and Description |
---|
ConfigurationSchema()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Attribute |
defaultAttribute(int eAttrTag,
int eClassTag)
Return a default attribute value
|
Attribute |
newAttribute(int eAttrTag,
String value,
int eClassTag)
Create a new attribute value.
|
String |
printConfigSchema(String sSchemaName,
String sUri,
boolean bWriteToStdout)
Print out the default configuration schema.
|
addForeignSchema, getAtom, getAttributeTag, getElementTag, getInstance, getNodeSchema, getNS, nullSchema, putForeignElement
public Attribute defaultAttribute(int eAttrTag, int eClassTag)
Schema
defaultAttribute
in class Schema
eAttrTag
- the name of the attribute. For efficiency, this name should
come from XFANamespaceeClassTag
- Identify which schema element this attribute belongs topublic Attribute newAttribute(int eAttrTag, String value, int eClassTag)
newAttribute
in class Schema
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 topublic String printConfigSchema(String sSchemaName, String sUri, boolean bWriteToStdout)
sSchemaName
- the schema to print.sUri
- the file name.bWriteToStdout
- do we write to stdout when sUri is null.Copyright © 2010 - 2020 Adobe. All Rights Reserved