| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addAttribute(String uri, String localName, String rawName, String type, String value, boolean XSLAttribute)
Implements com. Add at attribute to the current element |
| public void | addAttribute(String name, String value)
Implements com. Add an attribute to the current element. |
| public void | addAttribute(String uri, String localName, String rawName, String type, String value)
Implements com. Add at attribute to the current element, not from an xsl:attribute element. |
| public void | addAttributes(Attributes atts)
Implements com. Add attributes to the current element |
| public void | addUniqueAttribute(String name, String value, int flags)
Implements com. Add a unique attribute to the current element. |
| public void | addXSLAttribute(String qName, String value, String uri)
Implements com. Add an attribute from an xsl:attribute element. |
| pack-priv void | |
| public ContentHandler | asContentHandler()
Implements com. Return a |
| public Object | asDOM3Serializer()
Implements com. Return an Object into this serializer to be cast to a DOM3Serializer. |
| public DOMSerializer | asDOMSerializer()
Implements com. Return a |
| public void | attributeDecl(String arg0, String arg1, String arg2, String arg3, String arg4)
Implements org. Report an attribute type declaration. |
| public void | characters(String chars)
Implements com. This method is used to notify of a character event, but passing the data as a character String rather than the standard character array. |
| public void | characters(char[] arg0, int arg1, int arg2)
Implements org. Receive notification of character data. |
| public void | characters(Node node)
Implements com. This method is used to notify of a character event, but passing the data as a DOM Node rather than the standard character array. |
| public void | |
| public void | comment(String comment)
Implements com. This method is used to notify of a comment |
| public void | comment(char[] arg0, int arg1, int arg2)
Implements org. Report an XML comment anywhere in the document. |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| public void | elementDecl(String arg0, String arg1)
Implements org. Report an element type declaration. |
| public void | |
| public void | endDocument()
Implements org. Receive notification of the end of a document. |
| public void | |
| public void | endElement(String elemName)
Implements com. This method is used to notify that an element has ended. |
| public void | endElement(String arg0, String arg1, String arg2)
Implements org. Receive notification of the end of an element. |
| public void | endEntity(String arg0)
Implements org. Report the end of an entity. |
| public void | endPrefixMapping(String arg0)
Implements org. End the scope of a prefix-URI mapping. |
| public void | entityReference(String entityName)
Implements com. Notify of an entity reference. |
| public void | error(SAXParseException arg0)
Implements org. Receive notification of a recoverable error. |
| public void | externalEntityDecl(String arg0, String arg1, String arg2)
Implements org. Report a parsed external entity declaration. |
| public void | fatalError(SAXParseException arg0)
Implements org. Receive notification of a non-recoverable, fatal error. |
| public void | flushPending()
Implements com. A SerializationHandler accepts SAX-like events, so it can accumulate attributes or namespace nodes after a startElement(). |
| public String | getDoctypePublic()
Implements com. Returns the previously set value of the value to be used as the public identifier in the document type declaration (DTD). |
| public String | getDoctypeSystem()
Implements com. Returns the previously set value of the value to be used as the system identifier in the document type declaration (DTD). |
| public String | |
| public boolean | |
| public int | |
| public String | |
| public NamespaceMappings | getNamespaceMappings()
Implements com. This method returns an object that has the current namespace mappings in effect. |
| public String | getNamespaceURI(String name, boolean isElement)
Implements com. This method gets the prefix associated with a current element or attribute name. |
| public String | getNamespaceURIFromPrefix(String prefix)
Implements com. This method returns the namespace URI currently associated with the prefix. |
| public boolean | |
| public Properties | getOutputFormat()
Implements com. Returns the output format properties for this serializer. |
| public String | getOutputProperty(String name)
Implements com. Get the value for a property that affects seraialization, if a property was set return that value, otherwise return the default value, otherwise return null. |
| public String | getOutputPropertyDefault(String name)
Implements com. Get the default value for a property that affects seraialization, or null if there is none. |
| public OutputStream | getOutputStream()
Implements com. Get the output stream where the events will be serialized to. |
| public String | getPrefix(String uri)
Implements com. This method returns the prefix that currently maps to the given namespace URI. |
| public String | |
| public Transformer | getTransformer()
Implements com. Get the transformer associated with the serializer. |
| public String | |
| public Writer | getWriter()
Implements com. Get the character stream where the events will be serialized to. |
| public void | ignorableWhitespace(char[] arg0, int arg1, int arg2)
Implements org. Receive notification of ignorable whitespace in element content. |
| public void | internalEntityDecl(String arg0, String arg1)
Implements org. Report an internal entity declaration. |
| public void | namespaceAfterStartElement(String uri, String prefix)
Implements com. This method is used to notify that a prefix mapping is to start, but after an element is started. |
| public void | notationDecl(String arg0, String arg1, String arg2)
Implements org. Receive notification of a notation declaration event. |
| public void | processingInstruction(String arg0, String arg1)
Implements org. Receive notification of a processing instruction. |
| public boolean | reset()
Implements com. This method resets the serializer. |
| public void | serialize(Node node)
Implements com. Notify that the serializer should take this DOM node as input to be serialized. |
| public void | setCdataSectionElements(List<String> URI_and_localNames)
Implements com. Sets the value coming from the xsl:output cdata-section-elements stylesheet property. |
| public void | setContentHandler(ContentHandler ch)
Implements com. Set the SAX Content handler that the serializer sends its output to. |
| public void | setDoctype(String system, String pub)
Implements com. Set the value coming from the xsl:output doctype-public and doctype-system stylesheet properties |
| public void | setDoctypePublic(String doctype)
Implements com. Set the value coming from the xsl:output doctype-public stylesheet attribute. |
| public void | setDoctypeSystem(String doctype)
Implements com. Set the value coming from the xsl:output doctype-system stylesheet attribute. |
| public void | setDocumentLocator(Locator arg0)
Implements org. Receive an object for locating the origin of SAX document events. |
| public void | setDTDEntityExpansion(boolean expand)
Implements com. Default behavior is to expand DTD entities, that is the initall default value is true. |
| public void | setEncoding(String encoding)
Implements com. Sets the character encoding coming from the xsl:output encoding stylesheet attribute. |
| public boolean | setEscaping(boolean escape)
Implements com. Turns special character escaping on/off. |
| public void | setIndent(boolean indent)
Implements com. Sets the value coming from the xsl:output indent stylesheet attribute. |
| public void | setIndentAmount(int spaces)
Implements com. Set the number of spaces to indent for each indentation level. |
| public void | setIsStandalone(boolean isStandalone)
Implements com. Specify if the output will be treated as a standalone property |
| public void | setMediaType(String mediatype)
Implements com. Sets the value coming from the xsl:output media-type stylesheet attribute. |
| public void | setNamespaceMappings(NamespaceMappings mappings)
Implements com. Used only by TransformerSnapshotImpl to restore the serialization to a previous state. |
| public void | setOmitXMLDeclaration(boolean b)
Implements com. Sets the value coming from the xsl:output omit-xml-declaration stylesheet attribute |
| public void | setOutputFormat(Properties format)
Implements com. Specifies an output format for this serializer. |
| public void | setOutputProperty(String name, String val)
Implements com. Set the non-default value for a property that affects seraialization. |
| public void | setOutputPropertyDefault(String name, String val)
Implements com. Set the default value for a property that affects seraialization. |
| public void | setOutputStream(OutputStream output)
Implements com. Specifies an output stream to which the document should be serialized. |
| public void | setSourceLocator(SourceLocator locator)
Implements com. This method is used to set the source locator, which might be used to generated an error message. |
| public void | setStandalone(String standalone)
Implements com. Sets the value coming from the xsl:output standalone stylesheet attribute. |
| public void | setTransformer(Transformer transformer)
Implements com. Set the transformer associated with the serializer. |
| public void | setVersion(String version)
Implements com. Sets the value coming from the xsl:output version attribute. |
| public void | setWriter(Writer writer)
Implements com. Specifies a writer to which the document should be serialized. |
| public void | skippedEntity(String arg0)
Implements org. Receive notification of a skipped entity. |
| public void | startCDATA()
Implements org. Report the start of a CDATA section. |
| public void | startDocument()
Implements org. Receive notification of the beginning of a document. |
| public void | startDTD(String arg0, String arg1, String arg2)
Implements org. Report the start of DTD declarations, if any. |
| public void | startElement(String uri, String localName, String qName)
Implements com. This method is used to notify that an element is starting. |
| public void | startElement(String qName)
Implements com. This method is used to notify of the start of an element |
| public void | startElement(String arg0, String arg1, String arg2, Attributes arg3)
Implements org. Receive notification of the beginning of an element. |
| public void | startEntity(String arg0)
Implements org. Report the beginning of some internal and external XML entities. |
| public boolean | startPrefixMapping(String prefix, String uri, boolean shouldFlush)
Implements com. This method is used to notify that a prefix maping is to start, which can be for the current element, or for the one to come. |
| public void | startPrefixMapping(String arg0, String arg1)
Implements org. Begin the scope of a prefix-URI Namespace mapping. |
| public void | unparsedEntityDecl(String arg0, String arg1, String arg2, String arg3)
Implements org. Receive notification of an unparsed entity declaration event. |
| public void | warning(SAXParseException arg0)
Implements org. Receive notification of a warning. |