org.gxml.u
Interface GuProcessingContext<N>

All Superinterfaces:
ProcessingContext<N,java.lang.String,javax.xml.namespace.QName>

public interface GuProcessingContext<N>
extends ProcessingContext<N,java.lang.String,javax.xml.namespace.QName>

The processing context is a factory for new XML documents and adapters.

The processing context may also represent an appropriate level for caching.

End users will normally consume, rather than implement, this interface.


Method Summary
 GuApplication<N> getApplication()
          Returns the application that owns this processing context.
 GuModel<N> getModel()
          Returns a GuModel for navigating an XDM model.
 GuCursor<N> newCursor(N node)
          Returns a new GuCursor for navigating the XDM model.
 GuFragmentBuilder<N> newFragmentBuilder()
          Returns a new builder for constructing data models.
 

Method Detail

newFragmentBuilder

GuFragmentBuilder<N> newFragmentBuilder()
Returns a new builder for constructing data models.


getApplication

GuApplication<N> getApplication()
Returns the application that owns this processing context.

Specified by:
getApplication in interface ProcessingContext<N,java.lang.String,javax.xml.namespace.QName>

getModel

GuModel<N> getModel()
Returns a GuModel for navigating an XDM model.

Specified by:
getModel in interface ProcessingContext<N,java.lang.String,javax.xml.namespace.QName>

newCursor

GuCursor<N> newCursor(N node)
Returns a new GuCursor for navigating the XDM model.

Specified by:
newCursor in interface ProcessingContext<N,java.lang.String,javax.xml.namespace.QName>
Parameters:
node - The node over which the cursor is initially positioned. Cannot be null.


Copyright © 2009 TIBCO Software Inc. All Rights Reserved.