org.treebind
Class XmlProductionName

java.lang.Object
  extended byorg.treebind.DefaultNameImplementation
      extended byorg.treebind.XmlProductionName
All Implemented Interfaces:
Name

public class XmlProductionName
extends DefaultNameImplementation
implements Name

Name implementation representing XML productions which are neither elements nor attributes. The current version only supports text nodes (this is needed for case where text nodes are mixed with elements and attributes such as in mixed content models but also in simple content complex types (an element having a text node and one or more attributes). This class could be extended to support other XML productions which are ignored for the moment (PIs or comments come to mind). This class has no public constructors (users can't create new productions) but includes static public names that can be used by applications.

Author:
Eric van der Vlist
See Also:
XmlAttributeName, XmlElementName, Name

Field Summary
static java.lang.String BUILTIN
          The domain name for XML productions
static Name TEXTNODE
          The name of XML text nodes.
 
Methods inherited from class org.treebind.DefaultNameImplementation
equals, getDomainName, getFullName, getLocalName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.treebind.Name
equals, getDomainName, getFullName, getLocalName
 

Field Detail

BUILTIN

public static java.lang.String BUILTIN
The domain name for XML productions


TEXTNODE

public static final Name TEXTNODE
The name of XML text nodes.