public final class FunctionXML_XELEMENT extends AbstractXMLFunction
Modifier and Type | Field and Description |
---|---|
private static ValueType[][] |
ARG_TYPES |
ALL_FUNCTIONS, EXECUTION_PREFIX, UID_COUNTER
Constructor and Description |
---|
FunctionXML_XELEMENT() |
Modifier and Type | Method and Description |
---|---|
Value |
executeStrStr(PreprocessorContext context,
Value documentId,
Value xPath) |
ValueType[][] |
getAllowedArgumentTypes()
Get arrays of supported argument types
|
int |
getArity()
Get the function arity
|
java.lang.String |
getName()
Get the function name
|
java.lang.String |
getReference()
Get the function reference to be output for a help request
|
ValueType |
getResultType()
Get the result type
|
private javax.xml.xpath.XPathExpression |
prepareXPathExpression(java.lang.String path) |
buildPathForElement, findCachedElement, findCachedElementList, findElementForIndex, getAttribute, getCachedDocument, getCachedElement, getCachedElementList, getElementListSize, getFirstLevelTextContent, makeDocumentId, makeDocumentRootId, makeElementId, makeElementListId, makeXPathElementId, makeXPathListId
findForClass, findForName, getExpressionItemPriority, getExpressionItemType, toString
private static final ValueType[][] ARG_TYPES
public java.lang.String getName()
AbstractFunction
getName
in class AbstractFunction
public Value executeStrStr(PreprocessorContext context, Value documentId, Value xPath)
private javax.xml.xpath.XPathExpression prepareXPathExpression(java.lang.String path) throws javax.xml.xpath.XPathExpressionException
javax.xml.xpath.XPathExpressionException
public int getArity()
AbstractFunction
getArity
in class AbstractFunction
public ValueType[][] getAllowedArgumentTypes()
AbstractFunction
getAllowedArgumentTypes
in class AbstractFunction
public java.lang.String getReference()
AbstractFunction
getReference
in class AbstractFunction
public ValueType getResultType()
AbstractFunction
getResultType
in class AbstractFunction