org.ogf.graap.wsag.api.types
Class WSAGXmlType
java.lang.Object
java.util.Observable
org.ogf.graap.wsag.api.types.WSAGXmlType
- Direct Known Subclasses:
- AbstractAgreementFactoryType, AbstractAgreementType, AgreementOfferType, NegotiationOfferTypeImpl, TemplateType
public abstract class WSAGXmlType
- extends Observable
WSAGXmlType
- Author:
- Oliver Waeldrich
Method Summary |
protected AgreementType |
processTemplate(AgreementTemplateType template)
Processes an agreement template and strips off the template specific elements, namely the template id
and creation constraint section. |
abstract boolean |
validate()
Validates the internal XML object representation. |
boolean |
validate(org.apache.xmlbeans.XmlObject object)
Validates an XML object against its type definition. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSAGXmlType
public WSAGXmlType()
validate
public abstract boolean validate()
- Validates the internal XML object representation.
- Returns:
- true, if the validation process succeeded, false otherwise.
validate
public boolean validate(org.apache.xmlbeans.XmlObject object)
- Validates an XML object against its type definition.
- Parameters:
object
- the object to validate
- Returns:
- true, if the validation process succeeded, false otherwise.
processTemplate
protected AgreementType processTemplate(AgreementTemplateType template)
- Processes an agreement template and strips off the template specific elements, namely the template id
and creation constraint section.
- Parameters:
template
- the template to process
- Returns:
- the processed agreement type
Copyright © 2008-2012 Fraunhofer Institute SCAI. All Rights Reserved.