Class NamespaceBase

All Implemented Interfaces:
Attribute, Namespace, XMLEvent, XMLStreamConstants

public class NamespaceBase extends AttributeBase implements Namespace
  • Constructor Details

    • NamespaceBase

      public NamespaceBase(String namespaceURI)
      a namespace attribute has a form: xmlns:NCName="URI reference"
    • NamespaceBase

      public NamespaceBase(String prefix, String namespaceURI)
      Create a new Namespace
      Parameters:
      prefix - prefix of a namespace is the local name for an attribute
      namespaceURI - the uri reference of a namespace is the value for an attribute
  • Method Details