|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jibx.ws.wsdl.model.WsdlBase
org.jibx.ws.wsdl.model.OpenAttrBase
public abstract class OpenAttrBase
Base class for all element structures in WSDL definition which allow arbitrary attributes from outside the WSDL namespace.
Field Summary | |
---|---|
private java.util.ArrayList |
m_attributes
Extra attributes associated with element (lazy create, null if unused). |
Fields inherited from class org.jibx.ws.wsdl.model.WsdlBase |
---|
SOAP_NAMESPACE_URI, WSDL_NAMESPACE_URI |
Constructor Summary | |
---|---|
OpenAttrBase()
|
Method Summary | |
---|---|
void |
addExtraAttribute(java.lang.String name,
java.lang.String uri,
java.lang.String value)
Add extra attribute. |
void |
clearExtraAttributes()
Clear extra attribute list. |
java.util.List |
getExtraAttributes()
Get read-only list of extra attributes. |
java.lang.String |
getNamespace()
Get the WSDL target namespace. |
protected void |
preget(IMarshallingContext ictx)
Pre-get method called during marshalling. |
protected void |
validateAttributes(IUnmarshallingContext ictx,
StringArray attrs)
Validate attributes of element from schema namespace. |
Methods inherited from class org.jibx.ws.wsdl.model.WsdlBase |
---|
addNamespaceDeclaration, clearNamespaceDeclarations, getDocumentation, getExtension, getNamespaceDeclarations, preset, prevalidate, readNamespaces, setDocumentation, setExtension, validate, validateAttributes, writeNamespaces |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.ArrayList m_attributes
null
if unused).
Constructor Detail |
---|
public OpenAttrBase()
Method Detail |
---|
public java.lang.String getNamespace()
protected void preget(IMarshallingContext ictx) throws JiBXException
preget
in class WsdlBase
ictx
- marshalling context
JiBXException
- on errorpublic final java.util.List getExtraAttributes()
public final void clearExtraAttributes()
public final void addExtraAttribute(java.lang.String name, java.lang.String uri, java.lang.String value)
name
- attribute nameuri
- attribute namespace URIvalue
- attribute valueprotected void validateAttributes(IUnmarshallingContext ictx, StringArray attrs) throws JiBXException
ictx
- unmarshalling contextattrs
- attributes array
JiBXException
- on unmarshalling error
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |