Methods Summary |
---|
public void | addAttribute(java.lang.String uri, java.lang.String localName, java.lang.String rawName, java.lang.String type, java.lang.String value, boolean XSLAttribute)Add at attribute to the current element
|
public void | addAttribute(java.lang.String uri, java.lang.String localName, java.lang.String rawName, java.lang.String type, java.lang.String value)Add at attribute to the current element, not from an xsl:attribute
element.
|
public void | addAttribute(java.lang.String qName, java.lang.String value)Add an attribute to the current element. The namespace URI of the
attribute will be calculated from the prefix of qName. The local name
will be derived from qName and the type will be assumed to be "CDATA".
|
public void | addAttributes(org.xml.sax.Attributes atts)Add attributes to the current element
|
public void | addUniqueAttribute(java.lang.String qName, java.lang.String value, int flags)Add a unique attribute to the current element.
The attribute is guaranteed to be unique here. The serializer can write
it out immediately without saving it in a table first. The integer
flag contains information about the attribute, which helps the serializer
to decide whether a particular processing is needed.
|
public void | addXSLAttribute(java.lang.String qName, java.lang.String value, java.lang.String uri)Add an attribute from an xsl:attribute element.
|
public void | characters(java.lang.String chars)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(org.w3c.dom.Node node)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 | endElement(java.lang.String elemName)This method is used to notify that an element has ended. Unlike the
standard SAX method
endElement(namespaceURI,localName,qName)
only the last parameter is passed. If needed the serializer can derive
the localName from the qualified name and derive the namespaceURI from
its implementation.
|
public void | entityReference(java.lang.String entityName)Notify of an entity reference.
|
public com.sun.org.apache.xml.internal.serializer.NamespaceMappings | getNamespaceMappings()This method returns an object that has the current namespace mappings in
effect.
|
public java.lang.String | getNamespaceURI(java.lang.String name, boolean isElement)This method gets the prefix associated with a current element or
attribute name.
|
public java.lang.String | getNamespaceURIFromPrefix(java.lang.String prefix)This method returns the namespace URI currently associated with the
prefix.
|
public java.lang.String | getPrefix(java.lang.String uri)This method returns the prefix that currently maps to the given namespace
URI.
|
public void | namespaceAfterStartElement(java.lang.String uri, java.lang.String prefix)This method is used to notify that a prefix mapping is to start, but
after an element is started. The SAX method call
startPrefixMapping(prefix,uri)
is used just before an element starts and applies to the element to come,
not to the current element. This method applies to the current element.
For example one could make the calls in this order:
startElement("prfx8:elem9")
namespaceAfterStartElement("http://namespace8","prfx8")
|
public void | setSourceLocator(javax.xml.transform.SourceLocator locator)This method is used to set the source locator, which might be used to
generated an error message.
|
public void | startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName)This method is used to notify that an element is starting.
This method is just like the standard SAX method
startElement(uri,localName,qname,atts)
but without the attributes.
|
public void | startElement(java.lang.String qName)This method is used to notify of the start of an element
|
public boolean | startPrefixMapping(java.lang.String prefix, java.lang.String uri, boolean shouldFlush)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.
|