com.evolveum.prism.xml.ns._public.types_2
Class XPathType
java.lang.Object
com.evolveum.prism.xml.ns._public.types_2.XPathType
- All Implemented Interfaces:
- Serializable
public class XPathType
- extends Object
- implements Serializable
Defines a type for XPath pointer. It points to a specific part
of the XML tree. Only a path expressions should be used in
this type, as it is used as an l-value, i.e. pointing to a
part of XML where an value can be assigned.
XPath expression selecting the property container.
It must select exactly one XML element. It must not be used to
select XML constructs inside a property, unless such property is
in itself an object.
The root of the path is assumed to be the element of the
top-most ObjectType. Path attribute may be omitted. In that
case it is assumed to be "/". The path should be absolute,
starting with leading slash ("/"). If the leading slash is
not present, it should be assumed, but warning message
should be logged in such case.
cf. ExpressionType
Java class for XPathType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="XPathType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
</restriction>
</complexContent>
</complexType>
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
content
protected String content
XPathType
public XPathType()
getContent
public String getContent()
- Defines a type for XPath pointer. It points to a specific part
of the XML tree. Only a path expressions should be used in
this type, as it is used as an l-value, i.e. pointing to a
part of XML where an value can be assigned.
XPath expression selecting the property container.
It must select exactly one XML element. It must not be used to
select XML constructs inside a property, unless such property is
in itself an object.
The root of the path is assumed to be the element of the
top-most ObjectType. Path attribute may be omitted. In that
case it is assumed to be "/". The path should be absolute,
starting with leading slash ("/"). If the leading slash is
not present, it should be assumed, but warning message
should be logged in such case.
cf. ExpressionType
- Returns:
- possible object is
String
setContent
public void setContent(String value)
- Sets the value of the content property.
- Parameters:
value
- allowed object is
String
Copyright © 2013 evolveum. All Rights Reserved.