Constructor and Description |
---|
BatchId()
Creates a BatchId object without ID.
|
BatchId(java.lang.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,
java.lang.String namespace,
java.lang.String localName,
org.xml.sax.Attributes attrs)
Gets an XML element handler for the extension.
|
java.lang.String |
getId()
Gets the id.
|
static java.lang.String |
getIdFrom(BaseEntry<?> entry)
Convenience method for getting a batchId from
an entry if it's there.
|
void |
setId(java.lang.String id)
Sets the id.
|
public BatchId(java.lang.String id)
public BatchId()
public java.lang.String getId()
public void setId(java.lang.String id)
public static ExtensionDescription getDefaultDescription()
public static java.lang.String getIdFrom(BaseEntry<?> entry)
entry
- public void generate(XmlWriter w, ExtensionProfile extProfile) throws java.io.IOException
Extension
public XmlParser.ElementHandler getHandler(ExtensionProfile extProfile, java.lang.String namespace, java.lang.String localName, org.xml.sax.Attributes attrs)
Extension
getHandler
in interface Extension
extProfile
- extension profilenamespace
- extension namespacelocalName
- tag name, without the namespace prefixattrs
- tag attributes