|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttecgraf.javautils.xml.conversion.ConversionDocument
public class ConversionDocument
A classe ConversionDocument é uma fachada para um documento DOM.
Ela existe apenas para permitir que a informação do DTD associado ao
documento possa ser atualizada, já que esta informação é read-only.
Document| Field Summary |
|---|
| Constructor Summary | |
|---|---|
ConversionDocument(Document doc)
Instancia um objeto. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConversionDocument(Document doc)
doc - - documento DOM| Method Detail |
|---|
public String getDTD()
public void setDTD(String dtd)
Document, pois neste esse dado é read-only.
dtd - - DTDXMLConversionInterface.convert()public Document getDOMDocument()
public Node adoptNode(Node source)
throws DOMException
adoptNode in interface DocumentDOMException
public Node appendChild(Node newChild)
throws DOMException
appendChild in interface NodeDOMExceptionpublic Node cloneNode(boolean deep)
cloneNode in interface Node
public short compareDocumentPosition(Node other)
throws DOMException
compareDocumentPosition in interface NodeDOMException
public Attr createAttribute(String name)
throws DOMException
createAttribute in interface DocumentDOMException
public Attr createAttributeNS(String namespaceURI,
String qualifiedName)
throws DOMException
createAttributeNS in interface DocumentDOMException
public CDATASection createCDATASection(String data)
throws DOMException
createCDATASection in interface DocumentDOMExceptionpublic Comment createComment(String data)
createComment in interface Documentpublic DocumentFragment createDocumentFragment()
createDocumentFragment in interface Document
public Element createElement(String tagName)
throws DOMException
createElement in interface DocumentDOMException
public Element createElementNS(String namespaceURI,
String qualifiedName)
throws DOMException
createElementNS in interface DocumentDOMException
public EntityReference createEntityReference(String name)
throws DOMException
createEntityReference in interface DocumentDOMException
public ProcessingInstruction createProcessingInstruction(String target,
String data)
throws DOMException
createProcessingInstruction in interface DocumentDOMExceptionpublic Text createTextNode(String data)
createTextNode in interface Documentpublic NamedNodeMap getAttributes()
getAttributes in interface Nodepublic String getBaseURI()
getBaseURI in interface Nodepublic NodeList getChildNodes()
getChildNodes in interface Nodepublic DocumentType getDoctype()
getDoctype in interface Documentpublic Element getDocumentElement()
getDocumentElement in interface Documentpublic String getDocumentURI()
getDocumentURI in interface Documentpublic DOMConfiguration getDomConfig()
getDomConfig in interface Documentpublic Element getElementById(String elementId)
getElementById in interface Documentpublic NodeList getElementsByTagName(String tagname)
getElementsByTagName in interface Document
public NodeList getElementsByTagNameNS(String namespaceURI,
String localName)
getElementsByTagNameNS in interface Document
public Object getFeature(String feature,
String version)
getFeature in interface Nodepublic Node getFirstChild()
getFirstChild in interface Nodepublic DOMImplementation getImplementation()
getImplementation in interface Documentpublic String getInputEncoding()
getInputEncoding in interface Documentpublic Node getLastChild()
getLastChild in interface Nodepublic String getLocalName()
getLocalName in interface Nodepublic String getNamespaceURI()
getNamespaceURI in interface Nodepublic Node getNextSibling()
getNextSibling in interface Nodepublic String getNodeName()
getNodeName in interface Nodepublic short getNodeType()
getNodeType in interface Node
public String getNodeValue()
throws DOMException
getNodeValue in interface NodeDOMExceptionpublic Document getOwnerDocument()
getOwnerDocument in interface Nodepublic Node getParentNode()
getParentNode in interface Nodepublic String getPrefix()
getPrefix in interface Nodepublic Node getPreviousSibling()
getPreviousSibling in interface Nodepublic boolean getStrictErrorChecking()
getStrictErrorChecking in interface Document
public String getTextContent()
throws DOMException
getTextContent in interface NodeDOMExceptionpublic Object getUserData(String key)
getUserData in interface Nodepublic String getXmlEncoding()
getXmlEncoding in interface Documentpublic boolean getXmlStandalone()
getXmlStandalone in interface Documentpublic String getXmlVersion()
getXmlVersion in interface Documentpublic boolean hasAttributes()
hasAttributes in interface Nodepublic boolean hasChildNodes()
hasChildNodes in interface Node
public Node importNode(Node importedNode,
boolean deep)
throws DOMException
importNode in interface DocumentDOMException
public Node insertBefore(Node newChild,
Node refChild)
throws DOMException
insertBefore in interface NodeDOMExceptionpublic boolean isDefaultNamespace(String namespaceURI)
isDefaultNamespace in interface Nodepublic boolean isEqualNode(Node arg)
isEqualNode in interface Nodepublic boolean isSameNode(Node other)
isSameNode in interface Node
public boolean isSupported(String feature,
String version)
isSupported in interface Nodepublic String lookupNamespaceURI(String prefix)
lookupNamespaceURI in interface Nodepublic String lookupPrefix(String namespaceURI)
lookupPrefix in interface Nodepublic void normalize()
normalize in interface Nodepublic void normalizeDocument()
normalizeDocument in interface Document
public Node removeChild(Node oldChild)
throws DOMException
removeChild in interface NodeDOMException
public Node renameNode(Node n,
String namespaceURI,
String qualifiedName)
throws DOMException
renameNode in interface DocumentDOMException
public Node replaceChild(Node newChild,
Node oldChild)
throws DOMException
replaceChild in interface NodeDOMExceptionpublic void setDocumentURI(String documentURI)
setDocumentURI in interface Document
public void setNodeValue(String nodeValue)
throws DOMException
setNodeValue in interface NodeDOMException
public void setPrefix(String prefix)
throws DOMException
setPrefix in interface NodeDOMExceptionpublic void setStrictErrorChecking(boolean strictErrorChecking)
setStrictErrorChecking in interface Document
public void setTextContent(String textContent)
throws DOMException
setTextContent in interface NodeDOMException
public Object setUserData(String key,
Object data,
UserDataHandler handler)
setUserData in interface Node
public void setXmlStandalone(boolean xmlStandalone)
throws DOMException
setXmlStandalone in interface DocumentDOMException
public void setXmlVersion(String xmlVersion)
throws DOMException
setXmlVersion in interface DocumentDOMException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||