Modifier and Type | Class and Description |
---|---|
public class | Selector.
Selector matcher. |
public static class | Selector.
Schema identity constraint selector XPath expression. |
Modifier and Type | Field and Description |
---|---|
protected IdentityConstraint | |
protected final IdentityConstraint | fIdentityConstraint
Identity constraint. |
protected final Selector. | fXPath
XPath. |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public XPathMatcher | createMatcher(FieldActivator
The activator for this selector's fields. activator, int The depth in the document at which this matcher began its life;
used in correctly handling recursive elements. initialDepth)Creates a selector matcher. |
public IdentityConstraint | |
public XPath | |
public String |
fIDConstraint | back to summary |
---|---|
protected IdentityConstraint fIDConstraint |
fIdentityConstraint | back to summary |
---|---|
protected final IdentityConstraint fIdentityConstraint Identity constraint. |
fXPath | back to summary |
---|---|
protected final Selector. XPath. |
Selector | back to summary |
---|---|
public Selector(Selector. Constructs a selector. |
createMatcher | back to summary |
---|---|
public XPathMatcher createMatcher(FieldActivator activator, int initialDepth) Creates a selector matcher.
|
getIDConstraint | back to summary |
---|---|
public IdentityConstraint getIDConstraint() Returns the identity constraint. |
getXPath | back to summary |
---|---|
public XPath getXPath() Returns the selector XPath. |
toString | back to summary |
---|---|
public String toString() Overrides java. Returns a string representation of this object.
|
Modifier and Type | Field and Description |
---|---|
protected int | fElementDepth
Element depth. |
protected final FieldActivator | fFieldActivator
Field activator. |
protected final int | fInitialDepth
Initial depth in the document at which this matcher was created. |
protected int | fMatchedDepth
Depth at match. |
Access | Constructor and Description |
---|---|
public | Matcher(Selector.
Constructs a selector matcher. |
Modifier and Type | Method and Description |
---|---|
public void | endElement(QName
name of the element. element, XSTypeDefinition content type of this element. IOW, the XML schema type
of the value. Note that this may not be the type declared
in the element declaration, but it is "the actual type". For example,
if the XML is <foo xsi:type="xs:string">aaa</foo>, this
parameter will be "xs:string". type, boolean - nillable
true if the element declaration is nillable. nillable, Object - actual value
the typed value of the content of this element. actualValue, short valueType, ShortList itemValueType)Overrides com.
|
public IdentityConstraint | |
public int | |
public void | startDocumentFragment()
Overrides com. The start of the document fragment. |
public void | startElement(QName
The name of the element. element, XMLAttributes The element attributes. attributes)Overrides com. The start of an element. |
fElementDepth | back to summary |
---|---|
protected int fElementDepth Element depth. |
fFieldActivator | back to summary |
---|---|
protected final FieldActivator fFieldActivator Field activator. |
fInitialDepth | back to summary |
---|---|
protected final int fInitialDepth Initial depth in the document at which this matcher was created. |
fMatchedDepth | back to summary |
---|---|
protected int fMatchedDepth Depth at match. |
Matcher | back to summary |
---|---|
public Matcher(Selector. Constructs a selector matcher. |
endElement | back to summary |
---|---|
public void endElement(QName element, XSTypeDefinition type, boolean nillable, Object actualValue, short valueType, ShortList itemValueType) Overrides com.
|
getIdentityConstraint | back to summary |
---|---|
public IdentityConstraint getIdentityConstraint() Returns the identity constraint. |
getInitialDepth | back to summary |
---|---|
public int getInitialDepth() get the initial depth at which this selector matched. |
startDocumentFragment | back to summary |
---|---|
public void startDocumentFragment() Overrides com. Doc from com. The start of the document fragment. |
startElement | back to summary |
---|---|
public void startElement(QName element, XMLAttributes attributes) Overrides com. The start of an element. If the document specifies the start element by using an empty tag, then the startElement method will immediately be followed by the endElement method, with no intervening methods.
|
Access | Constructor and Description |
---|---|
public | XPath(String xpath, SymbolTable symbolTable, NamespaceContext context)
Constructs a selector XPath expression. |
Modifier and Type | Method and Description |
---|---|
private static String |
XPath | back to summary |
---|---|
public XPath(String xpath, SymbolTable symbolTable, NamespaceContext context) throws XPathException Constructs a selector XPath expression. |
normalize | back to summary |
---|---|
private static String normalize(String xpath) |