org.marc4j.marcxml
Class DoctypeDecl
java.lang.Object
org.marc4j.marcxml.DoctypeDecl
- public class DoctypeDecl
- extends Object
DoctypeDecl defines behaviour for a document type
declaration.
- Version:
- $Revision: 1.4 $
- Author:
- Bas Peters
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoctypeDecl
public DoctypeDecl()
- Default constructor
DoctypeDecl
public DoctypeDecl(String name,
String publicId,
String systemId)
Creates a new DocType instance
- Parameters:
name - the name of the root elementpublicId - the public identifiersystemId - the system identifier
setName
public void setName(String name)
Sets the name of the root element.
- Parameters:
name - the name of the root element
setPublicId
public void setPublicId(String publicId)
Sets the public identifier.
- Parameters:
publicId - the public identifier
setSystemId
public void setSystemId(String systemId)
Sets the system identifier.
- Parameters:
systemId - the system identifier
getName
public String getName()
Returns the name of the root element.
- Returns:
String - the name of the root element
getPublicId
public String getPublicId()
Returns the public identifier.
- Returns:
String - the public identifier
getSystemId
public String getSystemId()
Returns the system identifier.
- Returns:
String - the system identifier
Copyright © 2001-2004 Bas Peters. All Rights Reserved.