| Constructor and Description |
|---|
BatchId()
Creates a BatchId object without ID.
|
BatchId(String id)
Creates a BatchId object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
generate(XmlWriter w,
ExtensionProfile extProfile)
Generates an XML representation for the extension.
|
static ExtensionDescription |
getDefaultDescription()
Returns the suggested extension description.
|
XmlParser.ElementHandler |
getHandler(ExtensionProfile extProfile,
String namespace,
String localName,
Attributes attrs)
Gets an XML element handler for the extension.
|
String |
getId()
Gets the id.
|
static String |
getIdFrom(BaseEntry<?> entry)
Convenience method for getting a batchId from
an entry if it's there.
|
void |
setId(String id)
Sets the id.
|
public BatchId(String id)
public BatchId()
public String getId()
public void setId(String id)
public static ExtensionDescription getDefaultDescription()
public static String getIdFrom(BaseEntry<?> entry)
entry - public void generate(XmlWriter w, ExtensionProfile extProfile) throws IOException
Extensiongenerate in interface Extensionw - XML writerextProfile - extension profileIOExceptionpublic XmlParser.ElementHandler getHandler(ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)
ExtensiongetHandler in interface ExtensionextProfile - extension profilenamespace - extension namespacelocalName - tag name, without the namespace prefixattrs - tag attributesCopyright © 2012. All Rights Reserved.