|
Oxygen XML Editor 11.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ro.sync.ecss.extensions.api.AuthorDocumentType
public class AuthorDocumentType
Author structure representing DOCTYPE information as present in the Author document.
Constructor Summary | |
---|---|
AuthorDocumentType(String name,
String systemID,
String publicID,
String doctypeContent)
Constructor. |
Method Summary | |
---|---|
AuthorDocumentType |
clone()
Clones this doctype. |
boolean |
equals(Object obj)
|
static StringBuffer |
extractDoctypeContentFromDoctypeInfo(String name,
String publicID,
String systemID,
String internalSubset)
Recreate DOCTYPE content from the Document Type information. |
String |
getContent()
|
String |
getName()
|
String |
getPublicId()
|
String |
getSystemId()
|
String |
serializeDoctype()
Serialize the doctype |
String |
toString()
|
static boolean |
verifyEquals(String o1,
String o2)
Verify if the two objects are equal, including the cases when they are null. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AuthorDocumentType(String name, String systemID, String publicID, String doctypeContent)
name
- The DOCTYPE name.systemID
- The systemID.publicID
- Public id.doctypeContent
- The DOCTYPE content
Example for creating a Docbook AuthorDocumentType:
AuthorDocumentType doctype = new AuthorDocumentType( "article", "http://www.docbook.org/xml/4.4/docbookx.dtd", "-//OASIS//DTD DocBook XML V4.4//EN", "<!DOCTYPE article PUBLIC \"-//OASIS//DTD DocBook XML V4.4//EN\"\n" + " \"http://www.docbook.org/xml/4.4/docbookx.dtd\"[\n" + " <!ENTITY ent 'this is an entity'>\n" + "]>");
Method Detail |
---|
public String getName()
DOCTYPE
keyword.public String getPublicId()
public String getSystemId()
public String getContent()
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.docbook.org/xml/4.4/docbookx.dtd"[ <!ENTITY ent 'this is an entity'> ]>
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public static boolean verifyEquals(String o1, String o2)
o1
- First object to be compared.o2
- Second object to be compared.
public String toString()
toString
in class Object
Object.toString()
public String serializeDoctype()
public static StringBuffer extractDoctypeContentFromDoctypeInfo(String name, String publicID, String systemID, String internalSubset)
name
- DOCYTPE namepublicID
- DOCTYPE public IDsystemID
- DOCTYPE System IDinternalSubset
- Internal subset
public AuthorDocumentType clone()
clone
in class Object
Object.clone()
|
Oxygen XML Editor 11.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |