Package org.somda.sdc.mdpws.model
Class SelectorType
java.lang.Object
org.somda.sdc.mdpws.model.SelectorType
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb2_commons.lang.CopyTo2,org.jvnet.jaxb2_commons.lang.ToString2
public class SelectorType
extends Object
implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2
XPath expression that points to a specific text value or attribute in an XML structure. The following rules SHALL apply:
1. {Path} must be a valid XPath expression, as defined in XPath [http://www.w3.org/TR/1999/REC-xpath-19991116].
2. {Path} must conform to the following extended BNF:
[1] Path ::= ( '/' Step )* '/' ( '@' Name | 'text()' )
[2] Step ::= Name ('[' Expr ']')*
[3] Expr ::= '@' Name '=' ( Number | Literal | ConcatCall) | Number
[4] Name ::= QName | NCName
[5] Literal ::= '"' [^"]* '"' | "'" [^']* "'"
[6] ConcatCall ::= concat '(' ( Literal ( ',' Literal )* )? ')'
[7] Number ::= Digits ( '.' Digits? )?
[8] Digits ::= [0-9]+
where
- QName is defined in: http://www.w3.org/TR/REC-xml-names/#NT-QName
- NCName is defined in: http://www.w3.org/TR/REC-xml-names/#NT-NCName
Samples including allowed features:
/ns:Foo[@FooAttr='sample']/Bar[21]/text()
/Foo[@FooAttr="sample"]/ns:Bar/@BarAttr
Java class for SelectorType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SelectorType">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<anyAttribute processContents='skip' namespace='##other'/>
</extension>
</simpleContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) clone()copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy) booleangetId()Gets the value of the id property.Gets a map that contains attributes that aren't bound to any typed property on this class.getValue()Gets the value of the value property.inthashCode()voidSets the value of the id property.voidSets the value of the value property.toString()
-
Field Details
-
value
-
id
-
-
Constructor Details
-
SelectorType
public SelectorType()
-
-
Method Details
-
getValue
Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isString
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getOtherAttributes
Gets a map that contains attributes that aren't bound to any typed property on this class.the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
- Returns:
- always non-null
-
clone
-
copyTo
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
copyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy) - Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
createNewInstance
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
equals
-
hashCode
public int hashCode() -
toString
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-