|
Oracle Security Developer Tools XML Security Java API Reference 11g (11.1.1) E10680-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.xmlsec.util.DocTypeUtil
public class DocTypeUtil
Utility class for working with org.w3c.dom.DocumentType
nodes.
Constructor Summary | |
---|---|
DocTypeUtil() Creates a new DocTypeUtil instance. |
|
DocTypeUtil(org.w3c.dom.DocumentType docType) Creates a new DocTypeUtil instance from the contents of the given DocumentType . |
Method Summary | |
---|---|
java.lang.String |
getInternalSubset() Returns the internal subset as a string. |
java.lang.String |
getName() Returns the name of the DTD (i.e., the name immediately following the DOCTYPE keyword). |
java.lang.String |
getPublicId() Returns the public identifier of the external subset. |
java.lang.String |
getSystemId() Returns the system identifier of the external subset. |
void |
setInternalSubset(java.lang.String internalSubset) Sets the internal subset as a string. |
void |
setName(java.lang.String name) Sets the name of the DTD (i.e., the name immediately following the DOCTYPE keyword). |
void |
setPublicId(java.lang.String publicId) Sets the public identifier of the external subset. |
void |
setSystemId(java.lang.String systemId) Returns the system identifier of the external subset. |
java.lang.String |
toString() Returns the XML string representation of the DocumentType node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DocTypeUtil()
DocTypeUtil
instance.public DocTypeUtil(org.w3c.dom.DocumentType docType)
DocTypeUtil
instance from the contents of the given DocumentType
.
docType
- The org.w3c.dom.DocumentType
node.Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getPublicId()
public void setPublicId(java.lang.String publicId)
public java.lang.String getSystemId()
public void setSystemId(java.lang.String systemId)
public java.lang.String getInternalSubset()
The actual content returned may depend on how much information is available to the implementation. This may vary depending on various parameters, including the XML processor used to build the document.
public void setInternalSubset(java.lang.String internalSubset)
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Security Developer Tools XML Security Java API Reference 11g (11.1.1) E10680-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |