javax.xml.transform.Source
, javax.xml.transform.SourceLocator
, LocationProvider
, SaxonLocator
, Container
, FingerprintedNode
, Item
, NodeInfo
, ValueRepresentation
, InstructionInfo
, org.xml.sax.Locator
public class XSLOutput extends StyleElement
nameCode, root
attributeList, namespaceList
index, NODE_LETTER, parent
ALL_NAMESPACES, EMPTY_NAMESPACE_LIST, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACES
sequence
defaultCollationName, defaultXPathNamespace, extensionNamespaces, REPORT_ALWAYS, REPORT_IF_INSTANTIATED, REPORT_UNLESS_FALLBACK_AVAILABLE, REPORT_UNLESS_FORWARDS_COMPATIBLE, reportingCircumstances, staticContext, validationError
EMPTY_VALUE_ARRAY
Constructor | Description |
---|---|
XSLOutput() |
Modifier and Type | Method | Description |
---|---|---|
void |
checkAndPut(java.lang.String property,
java.lang.String value,
java.util.Properties props,
java.util.HashMap precedences) |
Add an output property to the list of properties after checking that it is consistent
with other properties
|
Expression |
compile(Executable exec) |
Compile the instruction on the stylesheet tree into an executable instruction
for use at run-time.
|
protected void |
gatherOutputProperties(java.util.Properties details,
java.util.HashMap precedences) |
Validate the properties,
and return the values as additions to a supplied Properties object.
|
int |
getOutputFingerprint() |
Get the name of the xsl:output declaration
|
void |
prepareAttributes() |
Set the attribute list for the element.
|
static java.lang.String |
prepareCharacterMaps(StyleElement element,
java.lang.String useCharacterMaps,
java.util.Properties details) |
Process the use-character-maps attribute
|
void |
validate() |
Check that the stylesheet element is valid.
|
generateId, getBaseURI, getDocumentRoot, getNameCode, getNodeKind, getRoot, getSystemId, setNameCode, setSystemId
copy, getAttributeList, getAttributeValue, getDeclaredNamespaces, getInScopeNamespaceCodes, getPrefixForURI, getURICodeForPrefix, getURIForPrefix, initialise, iteratePrefixes, sendNamespaceDeclarations, setNamespaceDeclarations
getSystemId
atomize, compareOrder, equals, getColumnNumber, getConfiguration, getDisplayName, getDocumentNumber, getFingerprint, getLocalPart, getNamePool, getNextInDocument, getNextSibling, getParent, getPrefix, getPreviousInDocument, getPreviousSibling, getPublicId, getTypeAnnotation, getTypedValue, getURI, hashCode, isSameNodeInfo, iterateAxis, iterateAxis
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addChild, compact, enumerateChildren, getFirstChild, getLastChild, getNthChild, getSequenceNumber, getStringValue, getStringValueCS, hasChildNodes, useChildrenArray
allocateLocationId, allocateSlots, backwardsCompatibleModeIsEnabled, bindVariable, checkEmpty, checkSortComesFirst, checkTopLevel, checkUnknownAttribute, checkWithinTemplate, compileError, compileError, compileError, compileSequenceConstructor, compileWarning, definesExcludedNamespace, definesExtensionElement, fallbackProcessing, fixupReferences, forwardsCompatibleModeIsEnabled, getAttributeSets, getAttributeValue, getCommonChildItemType, getConstructType, getContainingSlotManager, getContainingStylesheet, getDefaultCollationName, getDefaultXPathNamespace, getExecutable, getHostLanguage, getLastChildInstruction, getLineNumber, getLineNumber, getLocationProvider, getNamespaceResolver, getObjectFingerprint, getObjectNameCode, getPrecedence, getPreparedStylesheet, getPrincipalStylesheet, getProperties, getProperty, getReturnedItemType, getSchemaType, getStaticContext, getStylesheetFunction, getSystemId, getTargetNamePool, getTypeAnnotation, getVersion, getWithParamInstructions, isExcludedNamespace, isExplaining, isExtensionNamespace, isInstruction, isPermittedChild, issueWarning, issueWarning, isTopLevel, makeAttributeValueTemplate, makeExpression, makeNameCode, makeNamespaceContext, makePattern, makeSequenceType, makeSortKeys, makeTraceInstruction, markTailCalls, mayContainFallback, mayContainSequenceConstructor, postValidate, processAllAttributes, processAttributes, processDefaultCollationAttribute, processDefaultXPathNamespaceAttribute, processExcludedNamespaces, processExtensionElementAttribute, processVersionAttribute, replaceSubExpression, reportAbsence, setLineNumber, setObjectNameCode, setValidationError, substituteFor, typeCheck, typeCheck, undeclaredNamespaceError, validateChildren, validateSubtree
public void prepareAttributes() throws XPathException
StyleElement
prepareAttributes
in class StyleElement
XPathException
public int getOutputFingerprint()
public void validate() throws XPathException
StyleElement
validate
in class StyleElement
XPathException
public Expression compile(Executable exec)
StyleElement
compile
in class StyleElement
protected void gatherOutputProperties(java.util.Properties details, java.util.HashMap precedences) throws XPathException
XPathException
public void checkAndPut(java.lang.String property, java.lang.String value, java.util.Properties props, java.util.HashMap precedences) throws XPathException
XPathException
public static java.lang.String prepareCharacterMaps(StyleElement element, java.lang.String useCharacterMaps, java.util.Properties details) throws XPathException
details
- The existing output propertiesXPathException
- if the value is invalid