org.apache.xalan.processor
Class ProcessorOutputElem

java.lang.Object
  extended by org.apache.xml.utils.UnImplNode
      extended by org.apache.xalan.templates.ElemTemplateElement
          extended by org.apache.xalan.processor.XSLTElementProcessor
              extended by org.apache.xalan.processor.ProcessorOutputElem
All Implemented Interfaces:
java.io.Serializable, javax.xml.transform.SourceLocator, XSLTVisitable, PrefixResolver, ExpressionNode, WhitespaceStrippingElementMatcher, org.w3c.dom.Document, org.w3c.dom.Element, org.w3c.dom.Node, org.w3c.dom.NodeList

 class ProcessorOutputElem
extends XSLTElementProcessor

TransformerFactory for xsl:output markup.

See Also:
XSLT DTD, output in XSLT Specification

Field Summary
private  OutputProperties m_outputProperties
          The output properties, set temporarily while the properties are being set from the attributes, and then nulled after that operation is completed.
(package private) static long serialVersionUID
           
 
Fields inherited from class org.apache.xalan.templates.ElemTemplateElement
m_docOrderNumber, m_hasVariableDecl, m_parentNode
 
Fields inherited from class org.apache.xml.utils.UnImplNode
actualEncoding, fDocumentURI
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
ProcessorOutputElem()
           
 
Method Summary
 void addLiteralResultAttribute(java.lang.String attrUri, java.lang.String attrLocalName, java.lang.String attrRawName, java.lang.String attrValue)
          Set a foreign property from the attribute value.
 void setCdataSectionElements(java.util.Vector newValue)
          Set the cdata-section-elements property from the attribute value.
 void setDoctypePublic(java.lang.String newValue)
          Set the doctype-public property from the attribute value.
 void setDoctypeSystem(java.lang.String newValue)
          Set the doctype-system property from the attribute value.
 void setEncoding(java.lang.String newValue)
          Set the encoding property from the attribute value.
 void setForeignAttr(java.lang.String attrUri, java.lang.String attrLocalName, java.lang.String attrRawName, java.lang.String attrValue)
          Set a foreign property from the attribute value.
 void setIndent(boolean newValue)
          Set the indent property from the attribute value.
 void setMediaType(java.lang.String newValue)
          Set the media type property from the attribute value.
 void setMethod(QName newValue)
          Set the method property from the attribute value.
 void setOmitXmlDeclaration(boolean newValue)
          Set the omit-xml-declaration property from the attribute value.
 void setStandalone(boolean newValue)
          Set the standalone property from the attribute value.
 void setVersion(java.lang.String newValue)
          Set the version property from the attribute value.
 void startElement(StylesheetHandler handler, java.lang.String uri, java.lang.String localName, java.lang.String rawName, org.xml.sax.Attributes attributes)
          Receive notification of the start of an xsl:output element.
 
Methods inherited from class org.apache.xalan.processor.XSLTElementProcessor
characters, endElement, getElemDef, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setElemDef, setPropertiesFromAttributes, setPropertiesFromAttributes, skippedEntity, startNonText, unparsedEntityDecl
 
Methods inherited from class org.apache.xalan.templates.ElemTemplateElement
accept, appendChild, appendChild, callChildVisitors, callChildVisitors, callVisitors, canAcceptVariables, canStripWhiteSpace, compareTo, compose, containsExcludeResultPrefix, endCompose, error, error, execute, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getBaseIdentifier, getChildNodes, getColumnNumber, getDeclaredPrefixes, getDOMBackPointer, getEndColumnNumber, getEndLineNumber, getFirstChild, getFirstChildElem, getLastChild, getLastChildElem, getLength, getLineNumber, getLocalName, getNamespaceForPrefix, getNamespaceForPrefix, getNextSibling, getNextSiblingElem, getNodeName, getNodeType, getOwnerDocument, getOwnerXSLTemplate, getParentElem, getParentNode, getParentNodeElem, getPreviousSibling, getPreviousSiblingElem, getPublicId, getStylesheet, getStylesheetComposed, getStylesheetRoot, getSystemId, getTagName, getUid, getXmlSpace, getXSLToken, handlesNullPrefixes, hasChildNodes, hasTextLitOnly, hasVariableDecl, insertBefore, isCompiledTemplate, item, recompose, removeChild, replaceChild, replaceChild, resolvePrefixTables, runtimeInit, setDOMBackPointer, setEndLocaterInfo, setLocaterInfo, setParentElem, setPrefixes, setPrefixes, setUid, setXmlSpace, shouldStripWhiteSpace
 
Methods inherited from class org.apache.xml.utils.UnImplNode
adoptNode, appendData, cloneNode, compareDocumentPosition, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, deleteData, getActualEncoding, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBaseURI, getDoctype, getDocumentElement, getDocumentURI, getDomConfig, getElementById, getElementsByTagName, getElementsByTagNameNS, getFeature, getImplementation, getInputEncoding, getNamespaceURI, getNodeValue, getOwnerElement, getPrefix, getSchemaTypeInfo, getSpecified, getStrictErrorChecking, getTextContent, getUserData, getWholeText, getXmlEncoding, getXmlStandalone, getXmlVersion, hasAttribute, hasAttributeNS, hasAttributes, importNode, insertData, isDefaultNamespace, isEqualNode, isId, isSameNode, isSupported, isWhitespaceInElementContent, lookupNamespaceURI, lookupPrefix, normalize, normalizeDocument, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, renameNode, replaceData, replaceWholeText, setActualEncoding, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setData, setDocumentURI, setIdAttribute, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setInputEncoding, setNodeValue, setPrefix, setStrictErrorChecking, setTextContent, setUserData, setValue, setXmlEncoding, setXmlStandalone, setXmlVersion, splitText, substringData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

m_outputProperties

private OutputProperties m_outputProperties
The output properties, set temporarily while the properties are being set from the attributes, and then nulled after that operation is completed.

Constructor Detail

ProcessorOutputElem

ProcessorOutputElem()
Method Detail

setCdataSectionElements

public void setCdataSectionElements(java.util.Vector newValue)
Set the cdata-section-elements property from the attribute value.

Parameters:
newValue - non-null reference to processed attribute value.
See Also:
OutputKeys.CDATA_SECTION_ELEMENTS

setDoctypePublic

public void setDoctypePublic(java.lang.String newValue)
Set the doctype-public property from the attribute value.

Parameters:
newValue - non-null reference to processed attribute value.
See Also:
OutputKeys.DOCTYPE_PUBLIC

setDoctypeSystem

public void setDoctypeSystem(java.lang.String newValue)
Set the doctype-system property from the attribute value.

Parameters:
newValue - non-null reference to processed attribute value.
See Also:
OutputKeys.DOCTYPE_SYSTEM

setEncoding

public void setEncoding(java.lang.String newValue)
Set the encoding property from the attribute value.

Parameters:
newValue - non-null reference to processed attribute value.
See Also:
OutputKeys.ENCODING

setIndent

public void setIndent(boolean newValue)
Set the indent property from the attribute value.

Parameters:
newValue - non-null reference to processed attribute value.
See Also:
OutputKeys.INDENT

setMediaType

public void setMediaType(java.lang.String newValue)
Set the media type property from the attribute value.

Parameters:
newValue - non-null reference to processed attribute value.
See Also:
OutputKeys.MEDIA_TYPE

setMethod

public void setMethod(QName newValue)
Set the method property from the attribute value.

Parameters:
newValue - non-null reference to processed attribute value.
See Also:
OutputKeys.METHOD

setOmitXmlDeclaration

public void setOmitXmlDeclaration(boolean newValue)
Set the omit-xml-declaration property from the attribute value.

Parameters:
newValue - processed attribute value.
See Also:
OutputKeys.OMIT_XML_DECLARATION

setStandalone

public void setStandalone(boolean newValue)
Set the standalone property from the attribute value.

Parameters:
newValue - processed attribute value.
See Also:
OutputKeys.STANDALONE

setVersion

public void setVersion(java.lang.String newValue)
Set the version property from the attribute value.

Parameters:
newValue - non-null reference to processed attribute value.
See Also:
OutputKeys.VERSION

setForeignAttr

public void setForeignAttr(java.lang.String attrUri,
                           java.lang.String attrLocalName,
                           java.lang.String attrRawName,
                           java.lang.String attrValue)
Set a foreign property from the attribute value.

Parameters:
newValue - non-null reference to attribute value.

addLiteralResultAttribute

public void addLiteralResultAttribute(java.lang.String attrUri,
                                      java.lang.String attrLocalName,
                                      java.lang.String attrRawName,
                                      java.lang.String attrValue)
Set a foreign property from the attribute value.

Parameters:
newValue - non-null reference to attribute value.

startElement

public void startElement(StylesheetHandler handler,
                         java.lang.String uri,
                         java.lang.String localName,
                         java.lang.String rawName,
                         org.xml.sax.Attributes attributes)
                  throws org.xml.sax.SAXException
Receive notification of the start of an xsl:output element.

Overrides:
startElement in class XSLTElementProcessor
Parameters:
handler - The calling StylesheetHandler/TemplatesBuilder.
uri - The Namespace URI, or the empty string if the element has no Namespace URI or if Namespace processing is not being performed.
localName - The local name (without prefix), or the empty string if Namespace processing is not being performed.
rawName - The raw XML 1.0 name (with prefix), or the empty string if raw names are not available.
attributes - The attributes attached to the element. If there are no attributes, it shall be an empty Attributes object.
Throws:
org.xml.sax.SAXException