|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GxProcessingContext<I,U,N extends I,A extends I,S,T,X>
A processing context parameterized by atom(s) and type(s).
Method Summary | |
---|---|
A |
atom(I item)
Applies a hypothetical atom() test to the item. |
GxApplication<I,U,N,A,S,T,X> |
getApplication()
Returns the application that owns this processing context. |
GxAtomBridge<A,S> |
getAtomBridge()
Returns the bridge used for atom interaction. |
GxMetaBridge<A,S,T> |
getMetaBridge()
Returns the bridge used for meta-data interaction. |
GxModel<N,A,S,T> |
getModel()
Returns the GxModel for navigating the document model. |
GxNameBridge<S> |
getNameBridge()
Returns the bridge used for symbolic name interaction. |
U |
getNID(N node)
Returns the node identity that corresponds to the node. |
GxVariantBridge<I,N,A,X> |
getVariantBridge()
Returns the bridge used for value handles. |
boolean |
isAtom(I item)
Determines whether the item is an atom. |
boolean |
isNode(I item)
Determines whether the item is a node. |
I[] |
itemArray(int size)
Allocates an empty array of items. |
GxCursor<N,A,S,T> |
newCursor(N node)
Returns a new cursor for navigating the XDM model. |
GxFragmentBuilder<N,A,S,T> |
newFragmentBuilder()
Creates a new builder for creating tree fragments. |
N |
node(I item)
Applies the node() test to the item. |
N[] |
nodeArray(int size)
Allocates an empty array of nodes. |
Method Detail |
---|
A atom(I item)
null
.
item
- The candidate item.GxApplication<I,U,N,A,S,T,X> getApplication()
getApplication
in interface ProcessingContext<N extends I,S,SmName<S>>
GxAtomBridge<A,S> getAtomBridge()
GxCursor<N,A,S,T> newCursor(N node)
ProcessingContext
newCursor
in interface ProcessingContext<N extends I,S,SmName<S>>
node
- The node over which the cursor is initially positioned. Cannot be null
.GxMetaBridge<A,S,T> getMetaBridge()
GxModel<N,A,S,T> getModel()
GxModel
for navigating the document model.
getModel
in interface ProcessingContext<N extends I,S,SmName<S>>
GxNameBridge<S> getNameBridge()
U getNID(N node)
Object.hashCode()
and Object.equals(Object)
node
- The node for which the identity is required.GxVariantBridge<I,N,A,X> getVariantBridge()
boolean isAtom(I item)
null
, the return value is false
.
item
- The candidate item.boolean isNode(I item)
null
, the return value is false
.
item
- The candidate item.I[] itemArray(int size)
size
- The size of the array of items.GxFragmentBuilder<N,A,S,T> newFragmentBuilder()
N node(I item)
null
.
item
- The candidate item.N[] nodeArray(int size)
size
- The size of the array of nodes.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |