Package | Description |
---|---|
javax.imageio.metadata |
A package of the Java Image I/O API dealing with reading and writing
metadata.
|
org.w3c.dom |
Provides the interfaces for the Document Object Model (DOM).
|
org.w3c.dom.events | |
org.w3c.dom.ls |
Modifier and Type | Method and Description |
---|---|
short |
IIOMetadataNode.compareDocumentPosition(Node other)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
String |
IIOMetadataNode.getBaseURI()
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
Object |
IIOMetadataNode.getFeature(String feature,
String version)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
String |
IIOMetadataNode.getNamespaceURI()
Returns
null , since namespaces are not supported. |
TypeInfo |
IIOMetadataNode.getSchemaTypeInfo()
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
String |
IIOMetadataNode.getTextContent()
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
Object |
IIOMetadataNode.getUserData(String key)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
boolean |
IIOMetadataNode.isDefaultNamespace(String namespaceURI)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
boolean |
IIOMetadataNode.isEqualNode(Node node)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
boolean |
IIOMetadataNode.isSameNode(Node node)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
String |
IIOMetadataNode.lookupNamespaceURI(String prefix)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
String |
IIOMetadataNode.lookupPrefix(String namespaceURI)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
Attr |
IIOMetadataNode.setAttributeNode(Attr newAttr) |
void |
IIOMetadataNode.setIdAttribute(String name,
boolean isId)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
void |
IIOMetadataNode.setIdAttributeNode(Attr idAttr,
boolean isId)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
void |
IIOMetadataNode.setIdAttributeNS(String namespaceURI,
String localName,
boolean isId)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
void |
IIOMetadataNode.setTextContent(String textContent)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
Object |
IIOMetadataNode.setUserData(String key,
Object data,
UserDataHandler handler)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException . |
Modifier and Type | Method and Description |
---|---|
Node |
Document.adoptNode(Node source)
Attempts to adopt a node from another document to this document.
|
Node |
Node.appendChild(Node newChild)
Adds the node
newChild to the end of the list of children
of this node. |
void |
CharacterData.appendData(String arg)
Append the string to the end of the character data of the node.
|
short |
Node.compareDocumentPosition(Node other)
Compares the reference node, i.e.
|
Attr |
Document.createAttribute(String name)
Creates an
Attr of the given name. |
Attr |
Document.createAttributeNS(String namespaceURI,
String qualifiedName)
Creates an attribute of the given qualified name and namespace URI.
|
CDATASection |
Document.createCDATASection(String data)
Creates a
CDATASection node whose value is the specified
string. |
Document |
DOMImplementation.createDocument(String namespaceURI,
String qualifiedName,
DocumentType doctype)
Creates a DOM Document object of the specified type with its document
element.
|
DocumentType |
DOMImplementation.createDocumentType(String qualifiedName,
String publicId,
String systemId)
Creates an empty
DocumentType node. |
Element |
Document.createElement(String tagName)
Creates an element of the type specified.
|
Element |
Document.createElementNS(String namespaceURI,
String qualifiedName)
Creates an element of the given qualified name and namespace URI.
|
EntityReference |
Document.createEntityReference(String name)
Creates an
EntityReference object. |
ProcessingInstruction |
Document.createProcessingInstruction(String target,
String data)
Creates a
ProcessingInstruction node given the specified
name and data strings. |
void |
CharacterData.deleteData(int offset,
int count)
Remove a range of 16-bit units from the node.
|
Attr |
Element.getAttributeNodeNS(String namespaceURI,
String localName)
Retrieves an
Attr node by local name and namespace URI. |
String |
Element.getAttributeNS(String namespaceURI,
String localName)
Retrieves an attribute value by local name and namespace URI.
|
String |
CharacterData.getData()
The character data of the node that implements this interface.
|
NodeList |
Element.getElementsByTagNameNS(String namespaceURI,
String localName)
Returns a
NodeList of all the descendant
Elements with a given local name and namespace URI in
document order. |
Node |
NamedNodeMap.getNamedItemNS(String namespaceURI,
String localName)
Retrieves a node specified by local name and namespace URI.
|
String |
Node.getNodeValue()
The value of this node, depending on its type; see the table above.
|
Object |
DOMConfiguration.getParameter(String name)
Return the value of a parameter if known.
|
String |
Node.getTextContent()
This attribute returns the text content of this node and its
descendants.
|
boolean |
Element.hasAttributeNS(String namespaceURI,
String localName)
Returns
true when an attribute with a given local name and
namespace URI is specified on this element or has a default value,
false otherwise. |
Node |
Document.importNode(Node importedNode,
boolean deep)
Imports a node from another document to this document, without altering
or removing the source node from the original document; this method
creates a new copy of the source node.
|
Node |
Node.insertBefore(Node newChild,
Node refChild)
Inserts the node
newChild before the existing child node
refChild . |
void |
CharacterData.insertData(int offset,
String arg)
Insert a string at the specified 16-bit unit offset.
|
void |
Element.removeAttribute(String name)
Removes an attribute by name.
|
Attr |
Element.removeAttributeNode(Attr oldAttr)
Removes the specified attribute node.
|
void |
Element.removeAttributeNS(String namespaceURI,
String localName)
Removes an attribute by local name and namespace URI.
|
Node |
Node.removeChild(Node oldChild)
Removes the child node indicated by
oldChild from the list
of children, and returns it. |
Node |
NamedNodeMap.removeNamedItem(String name)
Removes a node specified by name.
|
Node |
NamedNodeMap.removeNamedItemNS(String namespaceURI,
String localName)
Removes a node specified by local name and namespace URI.
|
Node |
Document.renameNode(Node n,
String namespaceURI,
String qualifiedName)
Rename an existing node of type
ELEMENT_NODE or
ATTRIBUTE_NODE . |
Node |
Node.replaceChild(Node newChild,
Node oldChild)
Replaces the child node
oldChild with newChild
in the list of children, and returns the oldChild node. |
void |
CharacterData.replaceData(int offset,
int count,
String arg)
Replace the characters starting at the specified 16-bit unit offset
with the specified string.
|
Text |
Text.replaceWholeText(String content)
Replaces the text of the current node and all logically-adjacent text
nodes with the specified text.
|
void |
Element.setAttribute(String name,
String value)
Adds a new attribute.
|
Attr |
Element.setAttributeNode(Attr newAttr)
Adds a new attribute node.
|
Attr |
Element.setAttributeNodeNS(Attr newAttr)
Adds a new attribute.
|
void |
Element.setAttributeNS(String namespaceURI,
String qualifiedName,
String value)
Adds a new attribute.
|
void |
ProcessingInstruction.setData(String data)
The content of this processing instruction.
|
void |
CharacterData.setData(String data)
The character data of the node that implements this interface.
|
void |
Element.setIdAttribute(String name,
boolean isId)
If the parameter
isId is true , this method
declares the specified attribute to be a user-determined ID attribute
. |
void |
Element.setIdAttributeNode(Attr idAttr,
boolean isId)
If the parameter
isId is true , this method
declares the specified attribute to be a user-determined ID attribute
. |
void |
Element.setIdAttributeNS(String namespaceURI,
String localName,
boolean isId)
If the parameter
isId is true , this method
declares the specified attribute to be a user-determined ID attribute
. |
Node |
NamedNodeMap.setNamedItem(Node arg)
Adds a node using its
nodeName attribute. |
Node |
NamedNodeMap.setNamedItemNS(Node arg)
Adds a node using its
namespaceURI and
localName . |
void |
Node.setNodeValue(String nodeValue)
The value of this node, depending on its type; see the table above.
|
void |
DOMConfiguration.setParameter(String name,
Object value)
Set the value of a parameter.
|
void |
Node.setPrefix(String prefix)
The namespace prefix of this node, or
null if it is
unspecified. |
void |
Node.setTextContent(String textContent)
This attribute returns the text content of this node and its
descendants.
|
void |
Attr.setValue(String value)
On retrieval, the value of the attribute is returned as a string.
|
void |
Document.setXmlStandalone(boolean xmlStandalone)
An attribute specifying, as part of the XML declaration, whether this document is standalone.
|
void |
Document.setXmlVersion(String xmlVersion)
An attribute specifying, as part of the XML declaration, the version number of this document.
|
Text |
Text.splitText(int offset)
Breaks this node into two nodes at the specified
offset ,
keeping both in the tree as siblings. |
String |
CharacterData.substringData(int offset,
int count)
Extracts a range of data from the node.
|
Modifier and Type | Method and Description |
---|---|
Event |
DocumentEvent.createEvent(String eventType) |
Modifier and Type | Method and Description |
---|---|
LSParser |
DOMImplementationLS.createLSParser(short mode,
String schemaType)
Create a new
LSParser . |
Document |
LSParser.parse(LSInput input)
Parse an XML document from a resource identified by a
LSInput . |
Document |
LSParser.parseURI(String uri)
Parse an XML document from a location identified by a URI reference [IETF RFC 2396].
|
Node |
LSParser.parseWithContext(LSInput input,
Node contextArg,
short action)
Parse an XML fragment from a resource identified by a
LSInput and insert the content into an existing document
at the position specified with the context and
action arguments. |
String |
LSSerializer.writeToString(Node nodeArg)
Serialize the specified node as described above in the general
description of the
LSSerializer interface. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.