org.jboss.xb.binding
Interface UnmarshallingContext

All Known Implementing Classes:
ObjectModelBuilder

public interface UnmarshallingContext

An interface for content navigation. At the moment it has only one method to get child's content. But it could also implement XPath navigation.

Version:
$Revision: 1.1.2.3 $
Author:
Alexey Loubyansky

Method Summary
 String getChildContent(String namespaceURI, String qName)
          Returns child's content.
 Object getMetadata()
           
 javax.xml.namespace.NamespaceContext getNamespaceContext()
           
 Iterator getNamespaceURIs()
           
 Object getParentMetadata()
           
 org.apache.xerces.xs.XSTypeDefinition getType()
           
 javax.xml.namespace.QName resolveQName(String value)
          Construct a QName from a value
 

Method Detail

resolveQName

javax.xml.namespace.QName resolveQName(String value)
Construct a QName from a value

Parameters:
value - A value that is of the form [prefix:]localpart

getNamespaceURIs

Iterator getNamespaceURIs()
Returns:
all the known namespace URIs

getNamespaceContext

javax.xml.namespace.NamespaceContext getNamespaceContext()
Returns:
NamespaceContext instance

getMetadata

Object getMetadata()

getParentMetadata

Object getParentMetadata()

getChildContent

String getChildContent(String namespaceURI,
                       String qName)
Returns child's content. todo consider deprecating this method

Parameters:
namespaceURI -
qName -
Returns:

getType

org.apache.xerces.xs.XSTypeDefinition getType()
Returns:
current element's type definition or null if this info is not available


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.