com.openharbor.beck.apache.axis
Class BeckDeserializer.BeckHandler.AxisNamespaceResolver

java.lang.Object
  extended bycom.openharbor.beck.apache.axis.BeckDeserializer.BeckHandler.AxisNamespaceResolver
All Implemented Interfaces:
XMLContext
Enclosing class:
BeckDeserializer.BeckHandler

protected static class BeckDeserializer.BeckHandler.AxisNamespaceResolver
extends java.lang.Object
implements XMLContext


Constructor Summary
BeckDeserializer.BeckHandler.AxisNamespaceResolver(org.apache.axis.encoding.DeserializationContext context)
           
 
Method Summary
 java.lang.String getBaseURI()
          The base URI to be used when resolving an external reference or reporting an error.
 org.xml.sax.EntityResolver getEntityResolver()
          The current algorithm for resolving external references.
 XMLName resolveNamespace(java.lang.String name, boolean isAttribute)
          Resolve an XML name to its namespace URI and local part.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeckDeserializer.BeckHandler.AxisNamespaceResolver

public BeckDeserializer.BeckHandler.AxisNamespaceResolver(org.apache.axis.encoding.DeserializationContext context)
Method Detail

resolveNamespace

public XMLName resolveNamespace(java.lang.String name,
                                boolean isAttribute)
                         throws UnknownNamespaceException
Description copied from interface: XMLContext
Resolve an XML name to its namespace URI and local part.

Specified by:
resolveNamespace in interface XMLContext
Parameters:
name - an XML local name or qualified name (of the form prefix:localPart).
isAttribute - whether this is the name of an XML attribute. The resolution algorithm for an attribute name is slightly different than for an element name.
Returns:
the namespace URI (if any) and local part.
Throws:
UnknownNamespaceException - the qname's prefix has not been defined (by an xmlns:prefix declaration).

getBaseURI

public java.lang.String getBaseURI()
Description copied from interface: XMLContext
The base URI to be used when resolving an external reference or reporting an error.

Specified by:
getBaseURI in interface XMLContext

getEntityResolver

public org.xml.sax.EntityResolver getEntityResolver()
Description copied from interface: XMLContext
The current algorithm for resolving external references.

Specified by:
getEntityResolver in interface XMLContext
Returns:
the object that resolves external references, or null to indicate that the default resolution algorithm should be used.