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/@BarAttrJava 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>
-
-
Constructor Summary
Constructors Constructor Description SelectorType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)ObjectcreateNewInstance()booleanequals(Object object)StringgetId()Ruft den Wert der id-Eigenschaft ab.Map<QName,String>getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.StringgetValue()Ruft den Wert der value-Eigenschaft ab.inthashCode()voidsetId(String value)Legt den Wert der id-Eigenschaft fest.voidsetValue(String value)Legt den Wert der value-Eigenschaft fest.StringtoString()
-
-
-
Method Detail
-
getValue
public String getValue()
Ruft den Wert der value-Eigenschaft ab.- Returns:
- possible object is
String
-
setValue
public void setValue(String value)
Legt den Wert der value-Eigenschaft fest.- Parameters:
value- allowed object isString
-
setId
public void setId(String value)
Legt den Wert der id-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getOtherAttributes
public Map<QName,String> 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
-
copyTo
public Object copyTo(Object target)
- 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
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
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
-
-