org.jbind.xml.base
Class PrefixDeclaration

java.lang.Object
  extended byorg.jbind.xml.base.PrefixDeclaration

public class PrefixDeclaration
extends java.lang.Object

Describes a prefix declaration, i.e. a prefix to namespace mapping.


Field Summary
 java.lang.String namespace
          (required).
 java.lang.String prefix
          (required).
 
Constructor Summary
PrefixDeclaration(java.lang.String aPrefix, java.lang.String aNamespace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prefix

public final java.lang.String prefix
(required). The empty string denotes the the prefix declaration belongs to the default namespace.


namespace

public final java.lang.String namespace
(required). The empty string indicates that there is no namespace for the prefix. Such prefix declarations are used to remove namespace declarations in nested namespace context (cf. namespace 1.1 specification).

Constructor Detail

PrefixDeclaration

public PrefixDeclaration(java.lang.String aPrefix,
                         java.lang.String aNamespace)