public class PortableESPKFactory extends XMLParser
| Modifier and Type | Class and Description |
|---|---|
protected static class |
PortableESPKFactory.PortableESPKHandler |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
convertESPKToXML(EntityStore es,
ESPK pk)
Convenience method to return the portable version of the ESPK as an
XML fragment.
|
PortableESPK |
createPortableESPK(byte[] xmlKeyFragment) |
PortableESPK |
createPortableESPK(org.w3c.dom.Element node)
Include a DOM-based factory method for creating PortableESPKs, for
parsers which themselves use DOM rather than SAX.
|
PortableESPK |
createPortableESPK(Entity e)
Create the portable ESPK for a new, freshly decoded entity.
|
PortableESPK |
createPortableESPK(EntityStore es,
ESPK pk)
Method to get the portable key version of a specific Entity in a specific
EntityStore.
|
PortableESPK |
createPortableESPK(java.lang.String xmlKeyFragment) |
static PortableESPKFactory |
newInstance() |
characters, endElement, parse, registerHandler, startElementpublic static PortableESPKFactory newInstance()
public final PortableESPK createPortableESPK(byte[] xmlKeyFragment)
public final PortableESPK createPortableESPK(java.lang.String xmlKeyFragment)
public final PortableESPK createPortableESPK(org.w3c.dom.Element node)
node - The starting Element of a PPK.public PortableESPK createPortableESPK(Entity e) throws EntityStoreException
e - The Entity, which should have an ESPK attached.EntityStoreExceptionpublic PortableESPK createPortableESPK(EntityStore es, ESPK pk)
es - The EntityStore from which to generate the portable key.pk - The key of the Entity to translate to a portable form.public java.lang.String convertESPKToXML(EntityStore es, ESPK pk)
es - The EntityStore containing the Entity specifiedpk - The ESPK of the Entity whose location is to be described. Must
be non-null and not the NULL_ESPK.
This documentation and all its contents and graphics, copyright © 1999 - 2011 Vordel