Package com.luciad.format.xml.schema
Class TLcdXMLSchema
java.lang.Object
com.luciad.format.xml.schema.TLcdXMLSchema
Deprecated.
Representation of an XML schema document.
This class is still subject to API changes; it should not be instantiated or used by users.
-
Constructor Summary
ConstructorDescriptionTLcdXMLSchema
(ILcdXMLSchemaProvider aSchemaProvider, String aNamespaceURI) Deprecated.Creates a newTLcdXMLSchema
for the specified namespace. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttribute
(TLcdXMLSchemaAttribute aSchemaAttribute) Deprecated.Adds the given attribute to this schema.void
addElement
(TLcdXMLSchemaElement aSchemaElement) Deprecated.Adds the specified schema element to this schema.void
addImportedNamespaceURI
(String aNamespaceURI) Deprecated.Adds the specified namespace URI to the list of imported namespace URI's for this schema.void
addType
(TLcdXMLSchemaType aSchemaType) Deprecated.Adds the specified type to this schema.getAttribute
(int aIndex) Deprecated.Returns the schema attribute, contained in this schema, at the specified index.getAttribute
(String aAttributeName) Deprecated.Returns the schema attribute with the specified name, ornull
if no such attribute is defined in this schema.int
Deprecated.Returns the number of attributes that is defined in this schema.getElement
(int aIndex) Deprecated.Returns the element at the specified index.getElement
(String aElementName) Deprecated.Returns the schema element with the given element name, ornull
if no child element is defined with that name.int
Deprecated.Returns the number of elements contained in this schema.getImportedNamespaceURI
(int aIndex) Deprecated.Returns the namespace URI at the specified index, imported by this schema.int
Deprecated.Returns the number of namespaces that is imported by this schema.Deprecated.Returns the namespace URI of this schema.Deprecated.getType
(int aIndex) Deprecated.Returns the schema type, contained in this schema, at the specified type.Deprecated.Returns the schema type with the specified name, ornull
if no such type is defined in this schema.int
Deprecated.Returns the number of types that is defined in this schema.
-
Constructor Details
-
TLcdXMLSchema
Deprecated.Creates a newTLcdXMLSchema
for the specified namespace.- Parameters:
aSchemaProvider
- the XML schema provider this schema is linked to.aNamespaceURI
- the namespace of this XML schema.
-
-
Method Details
-
getSchemaProvider
Deprecated. -
getNameSpaceURI
Deprecated.Returns the namespace URI of this schema.- Returns:
- the namespace URI of this schema.
-
getImportedNamespaceURI
Deprecated.Returns the namespace URI at the specified index, imported by this schema.- Parameters:
aIndex
- the index of the namespace URI to be returned.- Returns:
- the namespace URI at the specified index.
- Throws:
IndexOutOfBoundsException
- ifaIndex < 0 || aIndex >= getImportedNamespaceURICount
-
getImportedNamespaceURICount
public int getImportedNamespaceURICount()Deprecated.Returns the number of namespaces that is imported by this schema.- Returns:
- the number of namespaces that is imported by this schema.
-
addImportedNamespaceURI
Deprecated.Adds the specified namespace URI to the list of imported namespace URI's for this schema.- Parameters:
aNamespaceURI
- the namespace URI to be added.
-
getElement
Deprecated.Returns the schema element with the given element name, ornull
if no child element is defined with that name.- Parameters:
aElementName
- the name of the schema element to be returned.- Returns:
- the schema element with the given element name, or
null
if no child element is defined with that name.
-
getElement
Deprecated.Returns the element at the specified index.- Parameters:
aIndex
- the index of the element to be returned.- Returns:
- the element at the specified index.
- Throws:
IndexOutOfBoundsException
- ifaIndex < 0 || aIndex >= getElementCount()
-
getElementCount
public int getElementCount()Deprecated.Returns the number of elements contained in this schema.- Returns:
- the number of elements contained in this schema.
-
addElement
Deprecated.Adds the specified schema element to this schema.- Parameters:
aSchemaElement
- the schema element to be added to this schema.
-
getAttribute
Deprecated.Returns the schema attribute with the specified name, ornull
if no such attribute is defined in this schema.- Parameters:
aAttributeName
- the name of the attribute to be returned.- Returns:
- the attribute with the specified name, or
null
if no such attribute is defined in this schema.
-
getAttribute
Deprecated.Returns the schema attribute, contained in this schema, at the specified index.- Parameters:
aIndex
- the index of the schema attribute to be returned.- Returns:
- the schema attribute, contained in this schema, at the specified index.
- Throws:
IndexOutOfBoundsException
- ifaIndex < 0 || aIndex >= getAttributeCount
-
getAttributeCount
public int getAttributeCount()Deprecated.Returns the number of attributes that is defined in this schema.- Returns:
- the number of attributes that is defined in this schema.
-
addAttribute
Deprecated.Adds the given attribute to this schema.- Parameters:
aSchemaAttribute
- the attribute to be added to this schema.
-
getType
Deprecated.Returns the schema type with the specified name, ornull
if no such type is defined in this schema.- Parameters:
aTypeName
- the name of the type to be returned.- Returns:
- the type with the specified name, or
null
if no such type is defined in this schema.
-
getType
Deprecated.Returns the schema type, contained in this schema, at the specified type.- Parameters:
aIndex
- the index of the schema type to be returned.- Returns:
- the schema type, contained in this schema, at the specified index.
- Throws:
IndexOutOfBoundsException
- ifaIndex < 0 || aIndex >= getTypeCount
-
getTypeCount
public int getTypeCount()Deprecated.Returns the number of types that is defined in this schema.- Returns:
- the number of types that is defined in this schema.
-
addType
Deprecated.Adds the specified type to this schema.- Parameters:
aSchemaType
- the type to be added to this schema.
-
com.format.xml.schema
API has been deprecated. Instead, use thecom.format.xml.bind.schema
API.