public final class FunctionXML_OPEN extends AbstractXMLFunction
Modifier and Type | Field and Description |
---|---|
private static ValueType[][] |
ARG_TYPES |
static java.lang.String |
RES_XML_DOC_PREFIX |
static java.lang.String |
RES_XML_ELEMENT_PREFIX |
ALL_FUNCTIONS, EXECUTION_PREFIX, UID_COUNTER
Constructor and Description |
---|
FunctionXML_OPEN() |
Modifier and Type | Method and Description |
---|---|
Value |
executeStr(PreprocessorContext context,
Value filePath) |
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 org.w3c.dom.Document |
openFileAndParse(PreprocessorContext context,
java.io.File file) |
buildPathForElement, findCachedElement, findCachedElementList, findElementForIndex, getAttribute, getCachedDocument, getCachedElement, getCachedElementList, getElementListSize, getFirstLevelTextContent, makeDocumentId, makeDocumentRootId, makeElementId, makeElementListId, makeXPathElementId, makeXPathListId
findForClass, findForName, getExpressionItemPriority, getExpressionItemType, toString
public static final java.lang.String RES_XML_DOC_PREFIX
public static final java.lang.String RES_XML_ELEMENT_PREFIX
private static final ValueType[][] ARG_TYPES
public java.lang.String getName()
AbstractFunction
getName
in class AbstractFunction
public Value executeStr(PreprocessorContext context, Value filePath)
private org.w3c.dom.Document openFileAndParse(PreprocessorContext context, java.io.File file)
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