org.jscience.ml.gml.dom
Class XMLDescriptorImpl

java.lang.Object
  extended by org.jscience.ml.gml.dom.XMLDescriptorImpl
All Implemented Interfaces:
XMLDescriptor

public class XMLDescriptorImpl
extends java.lang.Object
implements XMLDescriptor

A DOM-based implementation of the XMLDescriptor interface.


Constructor Summary
XMLDescriptorImpl(org.w3c.dom.Node node)
          Constructs the XMLDescriptor object using a DOM node.
 
Method Summary
 java.lang.String getLocalName()
          Returns the XML local name of the GML element/attribute.
 java.lang.String getNamespace()
          Returns the namespace of the GML element/attribute.
 java.lang.String getPrefix()
          Returns the prefix of this XML element/attribute.
 java.lang.String getTypeName()
          Returns the XML type name of the GML element/attribute.
 java.lang.String getTypeNamespace()
          Returns the namespace of the element/attribute type.
 java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLDescriptorImpl

public XMLDescriptorImpl(org.w3c.dom.Node node)
Constructs the XMLDescriptor object using a DOM node.

Parameters:
node - DOCUMENT ME!
Method Detail

getLocalName

public java.lang.String getLocalName()
Returns the XML local name of the GML element/attribute.

Specified by:
getLocalName in interface XMLDescriptor
Returns:
DOCUMENT ME!

getNamespace

public java.lang.String getNamespace()
Returns the namespace of the GML element/attribute.

Specified by:
getNamespace in interface XMLDescriptor
Returns:
DOCUMENT ME!

getPrefix

public java.lang.String getPrefix()
Returns the prefix of this XML element/attribute.

Specified by:
getPrefix in interface XMLDescriptor
Returns:
DOCUMENT ME!

getTypeName

public java.lang.String getTypeName()
Returns the XML type name of the GML element/attribute.

Specified by:
getTypeName in interface XMLDescriptor
Returns:
DOCUMENT ME!
Throws:
java.lang.NoSuchMethodError - DOCUMENT ME!

getTypeNamespace

public java.lang.String getTypeNamespace()
Returns the namespace of the element/attribute type.

Specified by:
getTypeNamespace in interface XMLDescriptor
Returns:
DOCUMENT ME!
Throws:
java.lang.NoSuchMethodError - DOCUMENT ME!

toString

public java.lang.String toString()
DOCUMENT ME!

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!