Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
S
- SAXConverter - Class in nu.xom.converters
-
Feeds a XOM
Document
into a SAX2ContentHandler
. - SAXConverter(ContentHandler) - Constructor for class nu.xom.converters.SAXConverter
-
Creates a new
SAXConverter
. - Serializer - Class in nu.xom
-
Outputs a
Document
object in a specific encoding using various options for controlling white space, normalization, indenting, line breaking, and base URIs. - Serializer(OutputStream) - Constructor for class nu.xom.Serializer
-
Create a new serializer that uses the UTF-8 encoding.
- Serializer(OutputStream, String) - Constructor for class nu.xom.Serializer
-
Create a new serializer that uses the specified encoding.
- setBaseURI(String) - Method in class nu.xom.Document
-
Sets the URI from which this document was loaded, and against which relative URLs in this document will be resolved.
- setBaseURI(String) - Method in class nu.xom.Element
-
Sets the URI from which this element was loaded, and against which relative URLs in this element will be resolved, unless an
xml:base
attribute overrides this. - setBaseURI(String) - Method in class nu.xom.ParentNode
-
Sets the URI against which relative URIs in this node will be resolved.
- setContentHandler(ContentHandler) - Method in class nu.xom.converters.SAXConverter
-
Set the content handler for this converter.
- setData(String) - Method in exception class nu.xom.IllegalDataException
-
Stores the illegal text that caused this exception.
- setDocType(DocType) - Method in class nu.xom.Document
-
Sets this document's document type declaration.
- setInclusiveNamespacePrefixList(String) - Method in class nu.xom.canonical.Canonicalizer
-
Specifies the prefixes that will be output as specified in regular canonical XML, even when doing exclusive XML canonicalization.
- setIndent(int) - Method in class nu.xom.Serializer
-
Sets the number of additional spaces to add to each successive level in the hierarchy.
- setInternalDTDSubset(String) - Method in class nu.xom.DocType
-
Sets the internal DTD subset; that is the part of the DTD between
[
and]
. - setLexicalHandler(LexicalHandler) - Method in class nu.xom.converters.SAXConverter
-
Sets the optional lexical handler for this converter.
- setLineSeparator(String) - Method in class nu.xom.Serializer
-
Sets the line separator.
- setLocalName(String) - Method in class nu.xom.Attribute
-
Sets the local name of the attribute.
- setLocalName(String) - Method in class nu.xom.Element
-
Sets the local name of this element.
- setMaxLength(int) - Method in class nu.xom.Serializer
-
Sets the suggested maximum line length for this serializer.
- setNamespace(String, String) - Method in class nu.xom.Attribute
-
Sets the attribute's namespace prefix and URI.
- setNamespacePrefix(String) - Method in class nu.xom.Element
-
Sets the namespace prefix of this element.
- setNamespaceURI(String) - Method in class nu.xom.Element
-
Sets the namespace URI of this element.
- setOutputStream(OutputStream) - Method in class nu.xom.Serializer
-
Flushes the previous output stream and redirects further output to the new output stream.
- setParameter(String, Object) - Method in class nu.xom.xslt.XSLTransform
-
Supply a parameter to transformations performed by this object.
- setParameter(String, String, Object) - Method in class nu.xom.xslt.XSLTransform
-
Supply a parameter to transformations performed by this object.
- setPreserveBaseURI(boolean) - Method in class nu.xom.Serializer
-
Determines whether this serializer inserts extra
xml:base
attributes to attempt to preserve base URI information from the document. - setPublicID(String) - Method in class nu.xom.DocType
-
Sets the public ID for the external DTD subset.
- setRootElement(Element) - Method in class nu.xom.Document
-
Replaces the current root element with a different root element.
- setRootElementName(String) - Method in class nu.xom.DocType
-
Sets the name the document type declaration specifies for the root element.
- setSystemID(String) - Method in class nu.xom.DocType
-
Sets the system ID for the external DTD subset.
- setTarget(String) - Method in class nu.xom.ProcessingInstruction
-
Sets the target.
- setType(Attribute.Type) - Method in class nu.xom.Attribute
-
Sets the type of this attribute to one of the ten DTD types or
Type.UNDECLARED
. - setUnicodeNormalizationFormC(boolean) - Method in class nu.xom.Serializer
-
If true, this property indicates serialization will perform Unicode normalization on all data using normalization form C (NFC).
- setValue(String) - Method in class nu.xom.Attribute
-
Sets the attribute's value to the specified string, replacing any previous value.
- setValue(String) - Method in class nu.xom.Comment
-
Sets the content of this
Comment
object to the specified string. - setValue(String) - Method in class nu.xom.ProcessingInstruction
-
Sets the data.
- setValue(String) - Method in class nu.xom.Text
-
Sets the content of the
Text
object to the specified data. - shallowCopy() - Method in class nu.xom.Element
-
Creates a very shallow copy of the element with the same name and namespace URI, but no children, attributes, base URI, or namespace declaration.
- size() - Method in class nu.xom.Elements
-
Returns the number of elements in the list.
- size() - Method in class nu.xom.Nodes
-
Returns the number of nodes in the list.
- startMakingDocument() - Method in class nu.xom.NodeFactory
-
Creates a new
Document
object. - startMakingElement(String, String) - Method in class nu.xom.NodeFactory
-
Creates a new
Element
in the specified namespace with the specified name.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form