A model of a WSDL schema. This is a recursive hierarchy with an object for each node in the schema. A transformation is implemented as links between source and target MetaModel objects.
Constructor and description |
---|
MetaModel
(WsdlContext context, java.lang.String name) |
MetaModel
(SoapVersion soapVersion, java.lang.String name) |
Type Params | Return Type | Name and description |
---|---|---|
|
MetaModel |
addAnyAttribute(javax.xml.namespace.QName name) Add an attribute that is not in the schema to this element. |
|
MetaModel |
addAnyElement(javax.xml.namespace.QName name) Add an element that is not in the schema to this element. |
|
MetaModel |
addAttribute(javax.xml.namespace.QName name, SchemaType stype) Add an attribute to this element. |
|
void |
addAttributeWildcard() Indicate that attributes that are not in the schema can be added dynamically. |
|
MetaModel |
addElement(javax.xml.namespace.QName name) |
|
MetaModel |
addElement(java.lang.String localpart) |
|
void |
addElementWildcard() Indicate that elements that are not in the schema can be added dynamically. |
|
void |
addMetaModelListener(MetaModelListener listener) |
|
java.lang.String |
buildTree() |
|
boolean |
canDiscardValues() |
|
boolean |
canSetDestination(java.lang.Object object) |
|
boolean |
canSetSource(MetaModel sourceModel) |
|
boolean |
canSetValueForNewElements() |
|
MetaModel |
findAttribute(java.lang.String attributeName) |
|
MetaModel |
findBestChild(javax.xml.namespace.QName aName) |
|
MetaModel |
findChild(javax.xml.namespace.QName aName) |
|
MetaModel |
findChild(java.lang.String namespace, java.lang.String localName) |
|
MetaModel |
findElement(java.lang.String namespaceURI, java.lang.String localName) |
|
MetaModel |
findLocalname(java.lang.String localName) |
|
MetaModel |
getBody() Find the metamodel for the Body, if this is the metamodel for the Request or Response. |
|
java.util.Collection<MetaModel> |
getChildren() |
|
java.util.Collection<MetaModel> |
getChildrenWithRecursion() |
|
MetaModel |
getDestination() |
|
java.lang.String |
getEndTag() |
|
MetaModel |
getHeader() Find the metamodel for the Header, if this is the metamodel for the Request or Response. |
|
java.lang.String |
getLocalName() |
|
MetaModel |
getParent() |
|
java.lang.String |
getPath() |
|
javax.xml.namespace.QName |
getQName() This may be null for |
|
SchemaType |
getSchemaType() |
|
MetaModel |
getSource() |
|
java.lang.String |
getStartTag() |
|
java.lang.String |
getValueForNewElements() |
|
boolean |
hasAttributeWildcard() Check if this element can add any attribute dynamically. |
|
boolean |
hasElementWildcard() Check if this element can add any element dynamically. |
|
boolean |
isAny() Check if this attribute or element was added dynamically or from the schema. |
|
boolean |
isAttribute() |
|
boolean |
isCopyTransformation() Is this whole tree a copy transformation? |
|
boolean |
isDestinationComplete() |
|
boolean |
isDiscardValues() |
|
boolean |
isElement() |
|
boolean |
isHeader() |
|
boolean |
isReadOnly() |
|
boolean |
isSourceComplete() |
|
boolean |
isStandardNode() Check if this is a standard attribute like "xmlns:.." or "xsi:..." or a standard element like soapenv:Header. |
|
boolean |
isVisible() |
|
boolean |
qnameIsHeader(javax.xml.namespace.QName qname) |
|
void |
removeMetaModelListener(MetaModelListener listener) |
|
void |
setDestination(MetaModel dest) |
|
void |
setDestinationTree(MetaModel dest) |
|
void |
setDestinationTreeDefaultTransformation(MetaModel dest) |
|
void |
setDiscardValues() |
|
void |
setReadOnly(boolean b) |
|
void |
setRecursiveParent(MetaModel recursive) Set a recursive reference to the "same" element higher up in the hierarchy. |
|
void |
setSchemaType(SchemaType stype) |
|
void |
setValueForNewElements(java.lang.String valueForNewElements) |
|
void |
setVisible(boolean visible) |
|
java.lang.String |
toString() |
|
java.lang.String |
transformXPath(java.lang.String pathOrQuery) Transform an xpath to the schema that is mapped by the current transformation. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Add an attribute that is not in the schema to this element.
Add an element that is not in the schema to this element.
Add an attribute to this element.
Indicate that attributes that are not in the schema can be added dynamically.
Indicate that elements that are not in the schema can be added dynamically.
Find the metamodel for the Body, if this is the metamodel for the Request or Response.
Find the metamodel for the Header, if this is the metamodel for the Request or Response.
This may be null for
Check if this element can add any attribute dynamically.
Check if this element can add any element dynamically.
Check if this attribute or element was added dynamically or from the schema.
true
if the node was found dynamically in a
request or response, false
if the node was found in
the schema.Is this whole tree a copy transformation?
Check if this is a standard attribute like "xmlns:.." or "xsi:..." or a standard element like soapenv:Header.
Set a recursive reference to the "same" element higher up in the
hierarchy. Then, this element will have the same children as
recursive
.
Transform an xpath to the schema that is mapped by the current transformation.
ReadyAPI functional (soapui-pro) SDK 3.20.0