public class SchemaDOM extends DefaultDocument
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 and Description |
---|
SchemaDOM() |
Modifier and Type | Method and Description |
---|---|
ElementImpl |
emptyElement(QName element,
XMLAttributes attributes,
int line,
int column) |
ElementImpl |
emptyElement(QName element,
XMLAttributes attributes,
int line,
int column,
int offset) |
void |
endElement() |
Element |
getDocumentElement() |
static void |
indent(int amount) |
void |
printDOM() |
void |
reset() |
ElementImpl |
startElement(QName element,
XMLAttributes attributes,
int line,
int column) |
ElementImpl |
startElement(QName element,
XMLAttributes attributes,
int line,
int column,
int offset) |
static void |
traverse(Node node,
int depth) |
adoptNode, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, getDoctype, getDocumentURI, getDomConfig, getElementById, getElementsByTagName, getElementsByTagNameNS, getImplementation, getInputEncoding, getStrictErrorChecking, getXmlEncoding, getXmlStandalone, getXmlVersion, importNode, normalizeDocument, renameNode, setDocumentURI, setStrictErrorChecking, setXmlStandalone, setXmlVersion
getLocalName, getNamespaceURI, getNodeName, getNodeType, getPrefix, getReadOnly, setReadOnly
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
public ElementImpl startElement(QName element, XMLAttributes attributes, int line, int column, int offset)
public ElementImpl emptyElement(QName element, XMLAttributes attributes, int line, int column, int offset)
public ElementImpl startElement(QName element, XMLAttributes attributes, int line, int column)
public ElementImpl emptyElement(QName element, XMLAttributes attributes, int line, int column)
public void endElement()
public void reset()
public void printDOM()
public static void traverse(Node node, int depth)
public static void indent(int amount)
public Element getDocumentElement()
getDocumentElement
in interface Document
getDocumentElement
in class DefaultDocument
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.