|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.marc4j.marcxml.DoctypeDecl
DoctypeDecl
defines behaviour for a document type
declaration.
Constructor Summary | |
DoctypeDecl()
Default constructor |
|
DoctypeDecl(String name,
String publicId,
String systemId)
Creates a new DocType instance |
Method Summary | |
String |
getName()
Returns the name of the root element. |
String |
getPublicId()
Returns the public identifier. |
String |
getSystemId()
Returns the system identifier. |
void |
setName(String name)
Sets the name of the root element. |
void |
setPublicId(String publicId)
Sets the public identifier. |
void |
setSystemId(String systemId)
Sets the system identifier. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DoctypeDecl()
public DoctypeDecl(String name, String publicId, String systemId)
Creates a new DocType instance
name
- the name of the root elementpublicId
- the public identifiersystemId
- the system identifierMethod Detail |
public void setName(String name)
Sets the name of the root element.
name
- the name of the root elementpublic void setPublicId(String publicId)
Sets the public identifier.
publicId
- the public identifierpublic void setSystemId(String systemId)
Sets the system identifier.
systemId
- the system identifierpublic String getName()
Returns the name of the root element.
String
- the name of the root elementpublic String getPublicId()
Returns the public identifier.
String
- the public identifierpublic String getSystemId()
Returns the system identifier.
String
- the system identifier
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |