|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.xsd.util.XSDConstants
The Constants for XML and XML Schema and related DOM Utilities.
| Field Summary | |
static String |
ABSTRACT_ATTRIBUTE
The value "abstract"; an attribute on an XML Schema element. |
static int |
ALL_ELEMENT
The value 0. |
static String |
ALL_ELEMENT_TAG
The value "all". |
static int |
ANNOTATION_ELEMENT
The value 1. |
static String |
ANNOTATION_ELEMENT_TAG
The value "annotation". |
static int |
ANY_ELEMENT
The value 2. |
static String |
ANY_ELEMENT_TAG
The value "any". |
static int |
ANYATTRIBUTE_ELEMENT
The value 3. |
static String |
ANYATTRIBUTE_ELEMENT_TAG
The value "anyAttribute". |
static int |
APPINFO_ELEMENT
The value 4. |
static String |
APPINFO_ELEMENT_TAG
The value "appinfo". |
static int |
ATTRIBUTE_ELEMENT
The value 5. |
static String |
ATTRIBUTE_ELEMENT_TAG
The value "attribute". |
static String |
ATTRIBUTEFORMDEFAULT_ATTRIBUTE
The value "attributeFormDefault"; an attribute on an XML Schema element. |
static int |
ATTRIBUTEGROUP_ELEMENT
The value 6. |
static String |
ATTRIBUTEGROUP_ELEMENT_TAG
The value "attributeGroup". |
static String |
BASE_ATTRIBUTE
The value "base"; an attribute on an XML Schema element. |
static String |
BLOCK_ATTRIBUTE
The value "block"; an attribute on an XML Schema element. |
static String |
BLOCKDEFAULT_ATTRIBUTE
The value "blockDefault"; an attribute on an XML Schema element. |
static int |
CHOICE_ELEMENT
The value 7. |
static String |
CHOICE_ELEMENT_TAG
The value "choice". |
static int |
COMPLEXCONTENT_ELEMENT
The value 8. |
static String |
COMPLEXCONTENT_ELEMENT_TAG
The value "complexContent". |
static int |
COMPLEXTYPE_ELEMENT
The value 9. |
static String |
COMPLEXTYPE_ELEMENT_TAG
The value "complexType". |
static String |
DEFAULT_ATTRIBUTE
The value "default"; an attribute on an XML Schema element. |
static String |
DEFREF_ATTRIBUTE
The value "defRef"; an attribute on an XML Schema element. |
static int |
DOCUMENTATION_ELEMENT
The value 10. |
static String |
DOCUMENTATION_ELEMENT_TAG
The value "documentation". |
static int |
ELEMENT_ELEMENT
The value 11. |
static String |
ELEMENT_ELEMENT_TAG
The value "element". |
static String[] |
ELEMENT_TAGS
The sorted strings representing all XML Schema element tags. |
static String |
ELEMENTFORMDEFAULT_ATTRIBUTE
The value "elementFormDefault"; an attribute on an XML Schema element. |
static int |
ENUMERATION_ELEMENT
The value 12. |
static String |
ENUMERATION_ELEMENT_TAG
The value "enumeration". |
static int |
EXTENSION_ELEMENT
The value 13. |
static String |
EXTENSION_ELEMENT_TAG
The value "extension". |
static int |
FIELD_ELEMENT
The value 14. |
static String |
FIELD_ELEMENT_TAG
The value "field". |
static String |
FINAL_ATTRIBUTE
The value "final"; an attribute on an XML Schema element. |
static String |
FINALDEFAULT_ATTRIBUTE
The value "finalDefault"; an attribute on an XML Schema element. |
static String |
FIXED_ATTRIBUTE
The value "fixed"; an attribute on an XML Schema element. |
static String |
FORM_ATTRIBUTE
The value "form"; an attribute on an XML Schema element. |
static int |
FRACTIONDIGITS_ELEMENT
The value 15. |
static String |
FRACTIONDIGITS_ELEMENT_TAG
The value "fractionDigits". |
static int |
GROUP_ELEMENT
The value 16. |
static String |
GROUP_ELEMENT_TAG
The value "group". |
static String[] |
HFP_ELEMENT_TAGS
The sorted strings representing all XML Schema has facet and property element tags. |
static int |
HFP_HASFACET_ELEMENT
The value 0. |
static String |
HFP_HASFACET_ELEMENT_TAG
The value "hasFacet". |
static int |
HFP_HASPROPERTY_ELEMENT
The value 1. |
static String |
HFP_HASPROPERTY_ELEMENT_TAG
The value "hasProperty". |
static String |
HFP_NAME_ATTRIBUTE
The value "name"; an attribute on an XML Schema has facet and property element. |
static String |
HFP_VALUE_ATTRIBUTE
The value "value"; an attribute on an XML Schema has facet and property element. |
static String |
ID_ATTRIBUTE
The value "id"; an attribute on an XML Schema element. |
static int |
IMPORT_ELEMENT
The value 17. |
static String |
IMPORT_ELEMENT_TAG
The value "import". |
static int |
INCLUDE_ELEMENT
The value 18. |
static String |
INCLUDE_ELEMENT_TAG
The value "include". |
static String |
ITEMTYPE_ATTRIBUTE
The value "itemType"; an attribute on an XML Schema element. |
static int |
KEY_ELEMENT
The value 19. |
static String |
KEY_ELEMENT_TAG
The value "key". |
static int |
KEYREF_ELEMENT
The value 20. |
static String |
KEYREF_ELEMENT_TAG
The value "keyref". |
static int |
LENGTH_ELEMENT
The value 21. |
static String |
LENGTH_ELEMENT_TAG
The value "length". |
static int |
LIST_ELEMENT
The value 22. |
static String |
LIST_ELEMENT_TAG
The value "list". |
static int |
MAXEXCLUSIVE_ELEMENT
The value 23. |
static String |
MAXEXCLUSIVE_ELEMENT_TAG
The value "maxExclusive". |
static int |
MAXINCLUSIVE_ELEMENT
The value 24. |
static String |
MAXINCLUSIVE_ELEMENT_TAG
The value "maxInclusive". |
static int |
MAXLENGTH_ELEMENT
The value 25. |
static String |
MAXLENGTH_ELEMENT_TAG
The value "maxLength". |
static String |
MAXOCCURS_ATTRIBUTE
The value "maxOccurs"; an attribute on an XML Schema element. |
static String |
MEMBERTYPES_ATTRIBUTE
The value "memberTypes"; an attribute on an XML Schema element. |
static int |
MINEXCLUSIVE_ELEMENT
The value 26. |
static String |
MINEXCLUSIVE_ELEMENT_TAG
The value "minExclusive". |
static int |
MININCLUSIVE_ELEMENT
The value 27. |
static String |
MININCLUSIVE_ELEMENT_TAG
The value "minInclusive". |
static int |
MINLENGTH_ELEMENT
The value 28. |
static String |
MINLENGTH_ELEMENT_TAG
The value "minLength". |
static String |
MINOCCURS_ATTRIBUTE
The value "minOccurs"; an attribute on an XML Schema element. |
static String |
MIXED_ATTRIBUTE
The value "mixed"; an attribute on an XML Schema element. |
static String |
NAME_ATTRIBUTE
The value "name"; an attribute on an XML Schema element. |
static String |
NAMESPACE_ATTRIBUTE
The value "namespace"; an attribute on an XML Schema element. |
static String |
NILLABLE_ATTRIBUTE
The value "nillable"; an attribute on an XML Schema element. |
static int |
NOTATION_ELEMENT
The value 29. |
static String |
NOTATION_ELEMENT_TAG
The value "notation". |
static String |
OCCURS_ATTRIBUTE
The value "occurs"; an attribute on an XML Schema element. |
static String |
PART1
The value "http://www.w3.org/TR/xmlschema-1/". |
static String |
PART2
The value "http://www.w3.org/TR/xmlschema-2/". |
static int |
PATTERN_ELEMENT
The value 30. |
static String |
PATTERN_ELEMENT_TAG
The value "pattern". |
static String |
PROCESSCONTENTS_ATTRIBUTE
The value "processContents"; an attribute on an XML Schema element. |
static String |
PUBLIC_ATTRIBUTE
The value "public"; an attribute on an XML Schema element. |
static int |
REDEFINE_ELEMENT
The value 31. |
static String |
REDEFINE_ELEMENT_TAG
The value "redefine". |
static String |
REF_ATTRIBUTE
The value "ref"; an attribute on an XML Schema element. |
static String |
REFER_ATTRIBUTE
The value "refer"; an attribute on an XML Schema element. |
static int |
RESTRICTION_ELEMENT
The value 32. |
static String |
RESTRICTION_ELEMENT_TAG
The value "restriction". |
static int |
SCHEMA_ELEMENT
The value 33. |
static String |
SCHEMA_ELEMENT_TAG
The value "schema". |
static String |
SCHEMA_FOR_SCHEMA_URI_1999
The value http://www.w3.org/1999/XMLSchema". |
static String |
SCHEMA_FOR_SCHEMA_URI_2000_10
The value "http://www.w3.org/2000/10/XMLSchema". |
static String |
SCHEMA_FOR_SCHEMA_URI_2001
The value "http://www.w3.org/2001/XMLSchema". |
static String |
SCHEMA_HAS_FACET_AND_PROPERTY_URI_2001
The value "http://www.w3.org/2001/XMLSchema-hasFacetAndProperty". |
static String |
SCHEMA_INSTANCE_URI_2001
The value "http://www.w3.org/2001/XMLSchema-instance". |
static String |
SCHEMALOCATION_ATTRIBUTE
The value "schemaLocation"; an attribute on an XML Schema element. |
static int |
SELECTOR_ELEMENT
The value 34. |
static String |
SELECTOR_ELEMENT_TAG
The value "selector". |
static int |
SEQUENCE_ELEMENT
The value 35. |
static String |
SEQUENCE_ELEMENT_TAG
The value "sequence". |
static int |
SIMPLECONTENT_ELEMENT
The value 36. |
static String |
SIMPLECONTENT_ELEMENT_TAG
The value "simpleContent". |
static int |
SIMPLETYPE_ELEMENT
The value 37. |
static String |
SIMPLETYPE_ELEMENT_TAG
The value "simpleType". |
static String |
SOURCE_ATTRIBUTE
The value "source"; an attribute on an XML Schema element. |
static String |
SUBSTITUTIONGROUP_ATTRIBUTE
The value "substitutionGroup"; an attribute on an XML Schema element. |
static String |
SYSTEM_ATTRIBUTE
The value "system"; an attribute on an XML Schema element. |
static String |
TARGETNAMESPACE_ATTRIBUTE
The value "targetNamespace"; an attribute on an XML Schema element. |
static int |
TOTALDIGITS_ELEMENT
The value 38. |
static String |
TOTALDIGITS_ELEMENT_TAG
The value "totalDigits". |
static String |
TYPE_ATTRIBUTE
The value "type"; an attribute on an XML Schema element. |
static int |
UNION_ELEMENT
The value 39. |
static String |
UNION_ELEMENT_TAG
The value "union". |
static int |
UNIQUE_ELEMENT
The value 40. |
static String |
UNIQUE_ELEMENT_TAG
The value "unique". |
static String |
USE_ATTRIBUTE
The value "use"; an attribute on an XML Schema element. |
static String |
VALUE_ATTRIBUTE
The value "value"; an attribute on an XML Schema element. |
static String |
VERSION_ATTRIBUTE
The value "version"; an attribute on an XML Schema element. |
static int |
WHITESPACE_ELEMENT
The value 41. |
static String |
WHITESPACE_ELEMENT_TAG
The value "whiteSpace". |
static String |
XML_NAMESPACE_URI_1998
The value "http://www.w3.org/XML/1998/namespace". |
static String |
XMLNS_URI_2000
The value "http://www.w3.org/2000/xmlns/". |
static String |
XPATH_ATTRIBUTE
The value "xpath"; an attribute on an XML Schema element. |
| Constructor Summary | |
XSDConstants()
|
|
| Method Summary | |
static int |
hfpNodeType(Node node)
Returns the index of the node's element type, if it is an XML Schema has facet and property element tag, or -1. |
static int |
hfpNodeType(String localName)
Returns the index of the element type, if it is an XML Schema has facet and property element tag, or -1. |
static boolean |
isAnySimpleType(XSDTypeDefinition xsdTypeDefinition)
Returns whether the type definition is the anySimpleType. |
static boolean |
isAnyType(XSDTypeDefinition xsdTypeDefinition)
Returns whether the type definition is one of the flavours of the anyType, i.e., complex anyType or simple anyType. |
static boolean |
isOrIsDerivedFromID(XSDSimpleTypeDefinition xsdSimpleTypeDefinition)
Returns whether the simple type definition is the ID. |
static boolean |
isSchemaForSchemaNamespace(String namespace)
Returns whether the given namespace is one of the XML Schema for Schema namespaces. |
static boolean |
isSchemaHasFacetAndPropertyNamespace(String namespace)
Returns whether the give namespace is one of the XML Schema has facet and property namespaces. |
static boolean |
isSchemaInstanceNamespace(String namespace)
Returns whether the given namespace is (one of) the XML Schema Instance namespace(s). |
static boolean |
isURType(XSDTypeDefinition xsdTypeDefinition)
Returns whether the type definition is one of the flavours of the ur-type, i.e., complex anyType, simple anyType, or anySimpleType. |
static boolean |
isXMLNamespace(String namespace)
Returns whether the given namespace is (one of) the XML namespace(s). |
static boolean |
isXMLNSNamespace(String namespace)
Returns whether the given namespace is (one of) the XMLNS namespace(s). |
static String |
lookupQName(Element element,
String qName)
Returns the URI corresponding to the resolved QName. |
static String |
lookupQNameForAttribute(Element element,
String localNameOfAttribute)
Returns the URI corresponding to the resolved QName of the value of the attribute of the element. |
static String |
lookupQualifier(Node node,
String namespaceURI)
Returns the QName qualifier than is available at the given node to access the given namespace URI. |
static int |
nodeType(Node node)
Returns the index of the node's element type, if it is an XML Schema element tag, or -1. |
static int |
nodeType(String localName)
Returns the index of the element type, if it is an XML Schema element tag, or -1. |
static String |
resolveSchemaLocation(String baseSchemaLocationURI,
String namespaceURI,
String schemaLocationURI)
Resolve the namespace and schema location relative to the base schema location. |
static String |
uri(Node node)
Returns the URI representation of the node's namespace URI and local name, i.e., . |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String PART1
"http://www.w3.org/TR/xmlschema-1/".
public static final String PART2
"http://www.w3.org/TR/xmlschema-2/".
public static final String XML_NAMESPACE_URI_1998
"http://www.w3.org/XML/1998/namespace".
public static final String XMLNS_URI_2000
"http://www.w3.org/2000/xmlns/".
public static final String SCHEMA_FOR_SCHEMA_URI_1999
http://www.w3.org/1999/XMLSchema".
public static final String SCHEMA_FOR_SCHEMA_URI_2000_10
"http://www.w3.org/2000/10/XMLSchema".
public static final String SCHEMA_FOR_SCHEMA_URI_2001
"http://www.w3.org/2001/XMLSchema".
public static final String SCHEMA_INSTANCE_URI_2001
"http://www.w3.org/2001/XMLSchema-instance".
public static final String ALL_ELEMENT_TAG
"all".
ALL_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String ANNOTATION_ELEMENT_TAG
"annotation".
ANNOTATION_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String ANY_ELEMENT_TAG
"any".
ANY_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String ANYATTRIBUTE_ELEMENT_TAG
"anyAttribute".
ANYATTRIBUTE_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String APPINFO_ELEMENT_TAG
"appinfo".
APPINFO_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String ATTRIBUTE_ELEMENT_TAG
"attribute".
ATTRIBUTE_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String ATTRIBUTEGROUP_ELEMENT_TAG
"attributeGroup".
ATTRIBUTEGROUP_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String CHOICE_ELEMENT_TAG
"choice".
CHOICE_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String COMPLEXCONTENT_ELEMENT_TAG
"complexContent".
COMPLEXCONTENT_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String COMPLEXTYPE_ELEMENT_TAG
"complexType".
COMPLEXTYPE_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String DOCUMENTATION_ELEMENT_TAG
"documentation".
DOCUMENTATION_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String ELEMENT_ELEMENT_TAG
"element".
ELEMENT_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String ENUMERATION_ELEMENT_TAG
"enumeration".
ENUMERATION_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String EXTENSION_ELEMENT_TAG
"extension".
EXTENSION_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String FIELD_ELEMENT_TAG
"field".
FIELD_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String FRACTIONDIGITS_ELEMENT_TAG
"fractionDigits".
FRACTIONDIGITS_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String GROUP_ELEMENT_TAG
"group".
GROUP_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String IMPORT_ELEMENT_TAG
"import".
IMPORT_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String INCLUDE_ELEMENT_TAG
"include".
INCLUDE_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String KEY_ELEMENT_TAG
"key".
KEY_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String KEYREF_ELEMENT_TAG
"keyref".
KEYREF_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String LENGTH_ELEMENT_TAG
"length".
LENGTH_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String LIST_ELEMENT_TAG
"list".
LIST_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String MAXEXCLUSIVE_ELEMENT_TAG
"maxExclusive".
MAXEXCLUSIVE_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String MAXINCLUSIVE_ELEMENT_TAG
"maxInclusive".
MAXINCLUSIVE_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String MAXLENGTH_ELEMENT_TAG
"maxLength".
MAXLENGTH_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String MINEXCLUSIVE_ELEMENT_TAG
"minExclusive".
MINEXCLUSIVE_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String MININCLUSIVE_ELEMENT_TAG
"minInclusive".
MININCLUSIVE_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String MINLENGTH_ELEMENT_TAG
"minLength".
MINLENGTH_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String NOTATION_ELEMENT_TAG
"notation".
NOTATION_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String PATTERN_ELEMENT_TAG
"pattern".
PATTERN_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String REDEFINE_ELEMENT_TAG
"redefine".
REDEFINE_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String RESTRICTION_ELEMENT_TAG
"restriction".
RESTRICTION_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String SCHEMA_ELEMENT_TAG
"schema".
SCHEMA_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String SELECTOR_ELEMENT_TAG
"selector".
SELECTOR_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String SEQUENCE_ELEMENT_TAG
"sequence".
SEQUENCE_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String SIMPLECONTENT_ELEMENT_TAG
"simpleContent".
SIMPLECONTENT_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String SIMPLETYPE_ELEMENT_TAG
"simpleType".
SIMPLETYPE_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String TOTALDIGITS_ELEMENT_TAG
"totalDigits".
TOTALDIGITS_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String UNION_ELEMENT_TAG
"union".
UNION_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String UNIQUE_ELEMENT_TAG
"unique".
UNIQUE_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String WHITESPACE_ELEMENT_TAG
"whiteSpace".
WHITESPACE_ELEMENT,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int ALL_ELEMENT
0.
ALL_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int ANNOTATION_ELEMENT
1.
ANNOTATION_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int ANY_ELEMENT
2.
ANY_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int ANYATTRIBUTE_ELEMENT
3.
ANYATTRIBUTE_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int APPINFO_ELEMENT
4.
APPINFO_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int ATTRIBUTE_ELEMENT
5.
ATTRIBUTE_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int ATTRIBUTEGROUP_ELEMENT
6.
ATTRIBUTEGROUP_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int CHOICE_ELEMENT
7.
CHOICE_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int COMPLEXCONTENT_ELEMENT
8.
COMPLEXCONTENT_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int COMPLEXTYPE_ELEMENT
9.
COMPLEXTYPE_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int DOCUMENTATION_ELEMENT
10.
DOCUMENTATION_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int ELEMENT_ELEMENT
11.
ELEMENT_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int ENUMERATION_ELEMENT
12.
ENUMERATION_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int EXTENSION_ELEMENT
13.
EXTENSION_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int FIELD_ELEMENT
14.
FIELD_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int FRACTIONDIGITS_ELEMENT
15.
FRACTIONDIGITS_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int GROUP_ELEMENT
16.
GROUP_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int IMPORT_ELEMENT
17.
IMPORT_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int INCLUDE_ELEMENT
18.
INCLUDE_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int KEY_ELEMENT
19.
KEY_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int KEYREF_ELEMENT
20.
KEYREF_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int LENGTH_ELEMENT
21.
LENGTH_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int LIST_ELEMENT
22.
LIST_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int MAXEXCLUSIVE_ELEMENT
23.
MAXEXCLUSIVE_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int MAXINCLUSIVE_ELEMENT
24.
MAXINCLUSIVE_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int MAXLENGTH_ELEMENT
25.
MAXLENGTH_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int MINEXCLUSIVE_ELEMENT
26.
MINEXCLUSIVE_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int MININCLUSIVE_ELEMENT
27.
MININCLUSIVE_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int MINLENGTH_ELEMENT
28.
MINLENGTH_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int NOTATION_ELEMENT
29.
NOTATION_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int PATTERN_ELEMENT
30.
PATTERN_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int REDEFINE_ELEMENT
31.
REDEFINE_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int RESTRICTION_ELEMENT
32.
RESTRICTION_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int SCHEMA_ELEMENT
33.
SCHEMA_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int SELECTOR_ELEMENT
34.
SELECTOR_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int SEQUENCE_ELEMENT
35.
SEQUENCE_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int SIMPLECONTENT_ELEMENT
36.
SIMPLECONTENT_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int SIMPLETYPE_ELEMENT
37.
SIMPLETYPE_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int TOTALDIGITS_ELEMENT
38.
TOTALDIGITS_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int UNION_ELEMENT
39.
UNION_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int UNIQUE_ELEMENT
40.
UNIQUE_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final int WHITESPACE_ELEMENT
41.
WHITESPACE_ELEMENT_TAG,
ELEMENT_TAGS,
nodeType(String),
Constant Field Valuespublic static final String[] ELEMENT_TAGS
nodeType(String),
nodeType(Node)public static final String ABSTRACT_ATTRIBUTE
"abstract"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String ATTRIBUTEFORMDEFAULT_ATTRIBUTE
"attributeFormDefault"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String BASE_ATTRIBUTE
"base"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String BLOCK_ATTRIBUTE
"block"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String BLOCKDEFAULT_ATTRIBUTE
"blockDefault"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String DEFREF_ATTRIBUTE
"defRef"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String DEFAULT_ATTRIBUTE
"default"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String ELEMENTFORMDEFAULT_ATTRIBUTE
"elementFormDefault"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String FINAL_ATTRIBUTE
"final"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String FINALDEFAULT_ATTRIBUTE
"finalDefault"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String FIXED_ATTRIBUTE
"fixed"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String FORM_ATTRIBUTE
"form"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String ID_ATTRIBUTE
"id"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String ITEMTYPE_ATTRIBUTE
"itemType"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String MAXOCCURS_ATTRIBUTE
"maxOccurs"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String MEMBERTYPES_ATTRIBUTE
"memberTypes"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String MINOCCURS_ATTRIBUTE
"minOccurs"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String MIXED_ATTRIBUTE
"mixed"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String NAME_ATTRIBUTE
"name"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String NAMESPACE_ATTRIBUTE
"namespace"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String NILLABLE_ATTRIBUTE
"nillable"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String OCCURS_ATTRIBUTE
"occurs"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String PROCESSCONTENTS_ATTRIBUTE
"processContents"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String PUBLIC_ATTRIBUTE
"public"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String REF_ATTRIBUTE
"ref"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String REFER_ATTRIBUTE
"refer"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String SCHEMALOCATION_ATTRIBUTE
"schemaLocation"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String SOURCE_ATTRIBUTE
"source"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String SUBSTITUTIONGROUP_ATTRIBUTE
"substitutionGroup"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String SYSTEM_ATTRIBUTE
"system"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String TARGETNAMESPACE_ATTRIBUTE
"targetNamespace"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String TYPE_ATTRIBUTE
"type"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String USE_ATTRIBUTE
"use"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String VALUE_ATTRIBUTE
"value"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String VERSION_ATTRIBUTE
"version"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String XPATH_ATTRIBUTE
"xpath"; an attribute on an XML Schema element.
ELEMENT_TAGS,
Constant Field Valuespublic static final String SCHEMA_HAS_FACET_AND_PROPERTY_URI_2001
"http://www.w3.org/2001/XMLSchema-hasFacetAndProperty".
public static final String HFP_HASFACET_ELEMENT_TAG
"hasFacet".
HFP_HASFACET_ELEMENT,
HFP_ELEMENT_TAGS,
hfpNodeType(String),
Constant Field Valuespublic static final String HFP_HASPROPERTY_ELEMENT_TAG
"hasProperty".
HFP_HASPROPERTY_ELEMENT,
HFP_ELEMENT_TAGS,
hfpNodeType(String),
Constant Field Valuespublic static final int HFP_HASFACET_ELEMENT
0.
HFP_HASFACET_ELEMENT_TAG,
HFP_ELEMENT_TAGS,
hfpNodeType(String),
Constant Field Valuespublic static final int HFP_HASPROPERTY_ELEMENT
1.
HFP_HASPROPERTY_ELEMENT_TAG,
HFP_ELEMENT_TAGS,
hfpNodeType(String),
Constant Field Valuespublic static final String[] HFP_ELEMENT_TAGS
hfpNodeType(String)public static final String HFP_NAME_ATTRIBUTE
"name"; an attribute on an XML Schema has facet and property element.
HFP_ELEMENT_TAGS,
Constant Field Valuespublic static final String HFP_VALUE_ATTRIBUTE
"value"; an attribute on an XML Schema has facet and property element.
HFP_ELEMENT_TAGS,
Constant Field Values| Constructor Detail |
public XSDConstants()
| Method Detail |
public static boolean isXMLNamespace(String namespace)
namespace - a namespace.
public static boolean isXMLNSNamespace(String namespace)
namespace - a namespace.
public static boolean isSchemaForSchemaNamespace(String namespace)
namespace - a namespace.
public static boolean isSchemaInstanceNamespace(String namespace)
namespace - a namespace.
public static final int nodeType(String localName)
ELEMENT_TAGS,
nodeType(Node)public static final int nodeType(Node node)
ELEMENT_TAGS,
nodeType(String)public static final String uri(Node node)
# .
public static boolean isSchemaHasFacetAndPropertyNamespace(String namespace)
namespace - a namespace.
public static final int hfpNodeType(String localName)
HFP_ELEMENT_TAGS,
hfpNodeType(Node)public static int hfpNodeType(Node node)
isSchemaHasFacetAndPropertyNamespace(java.lang.String),
HFP_ELEMENT_TAGS,
hfpNodeType(String)
public static String lookupQNameForAttribute(Element element,
String localNameOfAttribute)
element - an element.localNameOfAttribute - the name of the attribute whose value to use.
lookupQName(Element, String),
Element.getAttribute(String)
public static String lookupQName(Element element,
String qName)
element - an element.qName - the QName to resolve in the context of the given element.
public static String lookupQualifier(Node node,
String namespaceURI)
node - the context node at which to lookup a qualifier.namespaceURI - the namespace to be referenced.
public static String resolveSchemaLocation(String baseSchemaLocationURI,
String namespaceURI,
String schemaLocationURI)
resolveSchemaLocation
("http://www.example.com/A/a.xsd",
"http://www.example.com/B",
"../B/b.xsd");
would yield
"http://www.example.com/B/b.xsd"When no namespace schema location is provided, the namespace itself will be used.
baseSchemaLocationURI - the location of the schema containing the reference, i.e., XSDSchema.getSchemaLocation().namespaceURI - the namespace being resolved, i.e., XSDImport.getNamespace().schemaLocationURI - the suggested location of the namespace being resolved, i.e., XSDSchemaDirective.getSchemaLocation().
public static boolean isURType(XSDTypeDefinition xsdTypeDefinition)
xsdTypeDefinition - a simple or complex type definition.
public static boolean isAnyType(XSDTypeDefinition xsdTypeDefinition)
xsdTypeDefinition - a simple or complex type definition.
public static boolean isAnySimpleType(XSDTypeDefinition xsdTypeDefinition)
xsdTypeDefinition - a simple or complex type definition.
public static boolean isOrIsDerivedFromID(XSDSimpleTypeDefinition xsdSimpleTypeDefinition)
xsdSimpleTypeDefinition - a simple type definition.
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||