public class MetaModel
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 |
---|---|---|
|
public MetaModel |
addAnyAttribute(javax.xml.namespace.QName name) Add an attribute that is not in the schema to this element. |
|
public MetaModel |
addAnyElement(javax.xml.namespace.QName name) Add an element that is not in the schema to this element. |
|
public MetaModel |
addAttribute(javax.xml.namespace.QName name, SchemaType stype) Add an attribute to this element. |
|
public void |
addAttributeWildcard() Indicate that attributes that are not in the schema can be added dynamically. |
|
public MetaModel |
addElement(javax.xml.namespace.QName name) |
|
public MetaModel |
addElement(java.lang.String localpart) |
|
public void |
addElementWildcard() Indicate that elements that are not in the schema can be added dynamically. |
|
public void |
addMetaModelListener(MetaModelListener listener) |
|
public java.lang.String |
buildTree() |
|
public boolean |
canDiscardValues() |
|
public boolean |
canSetDestination(java.lang.Object object) |
|
public boolean |
canSetSource(MetaModel sourceModel) |
|
public boolean |
canSetValueForNewElements() |
|
public MetaModel |
findAttribute(java.lang.String attributeName) |
|
public MetaModel |
findBestChild(javax.xml.namespace.QName aName) |
|
public MetaModel |
findChild(javax.xml.namespace.QName aName) |
|
public MetaModel |
findChild(java.lang.String namespace, java.lang.String localName) |
|
public MetaModel |
findElement(java.lang.String namespaceURI, java.lang.String localName) |
|
public MetaModel |
findLocalname(java.lang.String localName) |
|
public MetaModel |
getBody() Find the metamodel for the Body, if this is the metamodel for the Request or Response. |
|
public java.util.Collection<MetaModel> |
getChildren() |
|
public java.util.Collection<MetaModel> |
getChildrenWithRecursion() |
|
public MetaModel |
getDestination() |
|
public java.lang.String |
getEndTag() |
|
public MetaModel |
getHeader() Find the metamodel for the Header, if this is the metamodel for the Request or Response. |
|
public java.lang.String |
getLocalName() |
|
public MetaModel |
getParent() |
|
public java.lang.String |
getPath() |
|
public javax.xml.namespace.QName |
getQName() This may be null for |
|
public SchemaType |
getSchemaType() |
|
public MetaModel |
getSource() |
|
public java.lang.String |
getStartTag() |
|
public java.lang.String |
getValueForNewElements() |
|
public boolean |
hasAttributeWildcard() Check if this element can add any attribute dynamically. |
|
public boolean |
hasElementWildcard() Check if this element can add any element dynamically. |
|
public boolean |
isAny() Check if this attribute or element was added dynamically or from the schema. |
|
public boolean |
isAttribute() |
|
public boolean |
isCopyTransformation() Is this whole tree a copy transformation? |
|
public boolean |
isDestinationComplete() |
|
public boolean |
isDiscardValues() |
|
public boolean |
isElement() |
|
public boolean |
isHeader() |
|
public boolean |
isReadOnly() |
|
public boolean |
isSourceComplete() |
|
public boolean |
isStandardNode() Check if this is a standard attribute like "xmlns:.." or "xsi:..." or a standard element like soapenv:Header. |
|
public boolean |
isVisible() |
|
public boolean |
qnameIsHeader(javax.xml.namespace.QName qname) |
|
public void |
removeMetaModelListener(MetaModelListener listener) |
|
public void |
setDestination(MetaModel dest) |
|
public void |
setDestinationTree(MetaModel dest) |
|
public void |
setDestinationTreeDefaultTransformation(MetaModel dest) |
|
public void |
setDiscardValues() |
|
public void |
setReadOnly(boolean b) |
|
public void |
setRecursiveParent(MetaModel recursive) Set a recursive reference to the "same" element higher up in the hierarchy. |
|
public void |
setSchemaType(SchemaType stype) |
|
public void |
setValueForNewElements(java.lang.String valueForNewElements) |
|
public void |
setVisible(boolean visible) |
|
public java.lang.String |
toString() |
|
public 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, int), java.lang.Object#wait(), java.lang.Object#wait(long), 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.56.0