public class PrimaryKey extends PkType implements Serializable
Constructor and Description |
---|
PrimaryKey() |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid()
Method isValid.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
static PrimaryKey |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
addKey, addKey, enumerateKey, getKey, getKey, getKeyCount, iterateKey, removeAllKey, removeKey, removeKeyAt, setKey, setKey
public boolean isValid()
public void marshal(Writer out) throws MarshalException, ValidationException
marshal
in class PkType
out
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, MarshalException, ValidationException
marshal
in class PkType
handler
- IOException
- if an IOException occurs during
marshalingValidationException
- if this
object is an invalid instance according to the schemaMarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic static PrimaryKey unmarshal(Reader reader) throws MarshalException, ValidationException
reader
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws ValidationException
validate
in class PkType
ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2016. All rights reserved.