com.smallx.xml.infoset.memory
Class MemoryInfoset

java.lang.Object
  extended bycom.smallx.xml.infoset.memory.MemoryInfoset
All Implemented Interfaces:
Infoset, NameTable

public class MemoryInfoset
extends java.lang.Object
implements Infoset


Constructor Summary
MemoryInfoset()
           
MemoryInfoset(NameTable shadowTable)
           
 
Method Summary
 ItemConstructor createItemConstructor()
           
 Name createName(java.lang.String localName)
          Creates an unqualifed name instance from a character buffer.
 Name createName(java.net.URI namespace, java.lang.String localName)
          Creates a name instance from a string.
 java.net.URI createNamespace(java.lang.String namespace)
          Creates a namespace name URI from a string.
static Infoset getDefaultInfoset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryInfoset

public MemoryInfoset()

MemoryInfoset

public MemoryInfoset(NameTable shadowTable)
Method Detail

getDefaultInfoset

public static Infoset getDefaultInfoset()

createNamespace

public java.net.URI createNamespace(java.lang.String namespace)
                             throws java.net.URISyntaxException
Description copied from interface: NameTable
Creates a namespace name URI from a string.

Specified by:
createNamespace in interface NameTable
Parameters:
namespace - The string representation of the URI.
Returns:
A URI instance representing the namespace name.
Throws:
java.net.URISyntaxException

createName

public Name createName(java.net.URI namespace,
                       java.lang.String localName)
Description copied from interface: NameTable
Creates a name instance from a string.

Specified by:
createName in interface NameTable
Parameters:
namespace - The namespace name to use.
localName - The string containing the local name.
Returns:
A name instance.

createName

public Name createName(java.lang.String localName)
Description copied from interface: NameTable
Creates an unqualifed name instance from a character buffer.

Specified by:
createName in interface NameTable
Parameters:
localName - The string containing local name to use.
Returns:
A name instance;

createItemConstructor

public ItemConstructor createItemConstructor()
Specified by:
createItemConstructor in interface Infoset