public class Generator extends Object
Constructor and Description |
---|
Generator()
Constructor.
|
Generator(String name,
Reference uri,
String version)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the human-readable name for the generating agent.
|
Reference |
getUri()
Returns the reference of the generating agent.
|
String |
getVersion()
Returns the version of the generating agent.
|
void |
setName(String name)
Sets the human-readable name for the generating agent.
|
void |
setUri(Reference uri)
Sets the reference of the generating agent.
|
void |
setVersion(String version)
Sets the version of the generating agent.
|
void |
writeElement(XmlWriter writer)
Writes the current object as an XML element using the given SAX writer.
|
public String getName()
public Reference getUri()
public String getVersion()
public void setName(String name)
name
- The human-readable name for the generating agent.public void setUri(Reference uri)
uri
- The reference of the generating agent.public void setVersion(String version)
version
- The version of the generating agent.public void writeElement(XmlWriter writer) throws SAXException
writer
- The SAX writer.SAXException
Copyright © 2005–2018. All rights reserved.