public abstract class WsdlBase extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SOAP_NAMESPACE_URI
Fixed URI for SOAP namespace.
|
static String |
WSDL_NAMESPACE_URI
Fixed URI for WSDL namespace.
|
| Constructor and Description |
|---|
WsdlBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addNamespaceDeclaration(String prefix,
String uri)
Add namespace declaration.
|
void |
clearNamespaceDeclarations()
Clear namespace declarations list.
|
List |
getDocumentation()
Get documentation.
|
Object |
getExtension()
Get extension data.
|
List |
getNamespaceDeclarations()
Get namespace declarations list.
|
protected void |
preget(IMarshallingContext ictx)
Pre-get method to be called by data binding while writing element start tag.
|
protected void |
preset(IUnmarshallingContext ictx)
Pre-set method to be called by data binding while parsing element start tag.
|
void |
prevalidate(ValidationContext vctx)
Prevalidate component information.
|
protected void |
readNamespaces(IUnmarshallingContext ictx)
Collect namespace declarations from element.
|
void |
setDocumentation(List documentation)
Set documentation.
|
void |
setExtension(Object extension)
Set extension data.
|
void |
validate(ValidationContext vctx)
Validate component information.
|
protected void |
validateAttributes(IUnmarshallingContext ictx,
boolean other,
StringArray attrs)
Validate attributes of element.
|
protected void |
writeNamespaces(IMarshallingContext ictx)
Write namespace declarations to element.
|
public static final String WSDL_NAMESPACE_URI
public static final String SOAP_NAMESPACE_URI
public Object getExtension()
public void setExtension(Object extension)
extension - public final List getNamespaceDeclarations()
public final void clearNamespaceDeclarations()
public final void addNamespaceDeclaration(String prefix, String uri)
prefix - namespace prefixuri - namespace URIpublic List getDocumentation()
null if no documentation present)public void setDocumentation(List documentation)
documentation - protected void preget(IMarshallingContext ictx) throws JiBXException
ictx - marshalling contextJiBXException - on marshalling errorprotected void preset(IUnmarshallingContext ictx) throws JiBXException
ictx - unmarshalling contextJiBXException - on errorprotected void validateAttributes(IUnmarshallingContext ictx, boolean other, StringArray attrs)
ictx - unmarshalling contextother - attributes from other namespaces allowed flagattrs - attributes arraypreset(IUnmarshallingContext)protected void readNamespaces(IUnmarshallingContext ictx)
ictx - unmarshalling contextprotected void writeNamespaces(IMarshallingContext ictx) throws JiBXException
ictx - marshalling contextJiBXException - on error writingpublic void prevalidate(ValidationContext vctx)
vctx - validation contextpublic void validate(ValidationContext vctx)
prevalidate(org.jibx.schema.validation.ValidationContext) method will always be called for every
component in the schema definition before this method is called for any component. This empty base class
implementation should be overridden by each subclass that requires validation handling.vctx - validation contextCopyright © 2005-2014 jibx.org. All Rights Reserved.