com.evolveum.prism.xml.ns._public.types_2
Class XPathType

java.lang.Object
  extended by com.evolveum.prism.xml.ns._public.types_2.XPathType
All Implemented Interfaces:
java.io.Serializable

public class XPathType
extends java.lang.Object
implements java.io.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

Field Summary
protected  java.lang.String content
           
 
Constructor Summary
XPathType()
           
 
Method Summary
 java.lang.String getContent()
          Defines a type for XPath pointer.
 void setContent(java.lang.String value)
          Sets the value of the content property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

protected java.lang.String content
Constructor Detail

XPathType

public XPathType()
Method Detail

getContent

public java.lang.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(java.lang.String value)
Sets the value of the content property.

Parameters:
value - allowed object is String


Copyright © 2012 evolveum. All Rights Reserved.