|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.xml.xpath.ExpressionContext
com.novell.xsl.process.Context
An extension of the xpath ExpressionContext that has an interface for keeping track of base URIs for documents
| Nested Class Summary |
| Nested classes inherited from class com.novell.xml.xpath.ExpressionContext |
ExpressionContext.State |
| Field Summary | |
protected FunctionLibrary |
library
|
protected StripList |
stripList
|
protected Stylesheet |
stylesheet
|
protected Map |
uriMap
|
| Fields inherited from interface com.novell.xml.xpath.ContextNodeList |
DOCUMENT_ORDER, REVERSE_DOCUMENT_ORDER, UNKNOWN_ORDER |
| Constructor Summary | |
Context(ExpressionContext iVal)
Construct an expression context with the state of the passed context. |
|
Context(Stylesheet stylesheet,
FunctionLibrary library,
Map properties)
Construct an empty expression context. |
|
| Method Summary | |
void |
addBaseURI(Node node,
URL baseURI)
Add the base uri for a document |
void |
clearBaseURIs()
Clear any document to baseURI mappings |
URL |
getBaseURI(Node node)
Return the base URI of the document containing the passed node. |
Node |
getCurrentStylesheetNode()
Return the current stylesheet element being processed |
FunctionLibrary |
getFunctionLibrary()
Return the FunctionLibrary used for this stylesheet |
Stylesheet |
getStylesheet()
Return the stylesheet object associated with this Context |
void |
setStripList(StripList stripList)
Set the StripList object for source node whitespace stripping. |
boolean |
stripNode(Node node)
Return if a text or cdata section node should be stripped (not returned from an axis). |
| Methods inherited from class com.novell.xml.xpath.ExpressionContext |
count, evaluate, first, getCurrentNode, getExpandedName, getMark, getNamespaceContext, getNamespaceName, getProperty, next, order, popState, position, pushState, removeProperty, returnToMark, setContextNodeList, setNamespaceContext, setProperty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Map uriMap
protected StripList stripList
protected Stylesheet stylesheet
protected FunctionLibrary library
| Constructor Detail |
public Context(Stylesheet stylesheet,
FunctionLibrary library,
Map properties)
stylesheet - The Stylesheet object connected with this Context.library - The FunctionLibrary for the Stylesheet object.properties - Map containing extended propertiespublic Context(ExpressionContext iVal)
iVal - | Method Detail |
public Stylesheet getStylesheet()
public FunctionLibrary getFunctionLibrary()
public Node getCurrentStylesheetNode()
public void clearBaseURIs()
public void setStripList(StripList stripList)
public URL getBaseURI(Node node)
getBaseURI in interface URIcontextnode - The node whose document base URI is desired.
public void addBaseURI(Node node,
URL baseURI)
addBaseURI in interface URIcontextnode - A node belonging to the document for which
the base URI is to be added.baseURI - The base URI of the documentpublic boolean stripNode(Node node)
stripNode in interface WhitespaceStripperstripNode in class ExpressionContextnode - The text or cdata section node to test
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||