|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xerces.impl.xs.identity.XPathMatcher org.apache.xerces.impl.xs.identity.Selector.Matcher
public class Selector.Matcher
Selector matcher.
Constructor Summary | |
---|---|
Selector.Matcher(Selector.XPath xpath,
FieldActivator activator,
int initialDepth)
Constructs a selector matcher. |
Method Summary | |
---|---|
void |
endElement(QName element,
XSTypeDefinition type,
boolean nillable,
java.lang.Object actualValue,
short valueType,
ShortList itemValueType)
|
IdentityConstraint |
getIdentityConstraint()
Returns the identity constraint. |
int |
getInitialDepth()
get the initial depth at which this selector matched. |
void |
startDocumentFragment()
The start of the document fragment. |
void |
startElement(QName element,
XMLAttributes attributes)
The start of an element. |
Methods inherited from class org.apache.xerces.impl.xs.identity.XPathMatcher |
---|
isMatched, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Selector.Matcher(Selector.XPath xpath, FieldActivator activator, int initialDepth)
Method Detail |
---|
public void startDocumentFragment()
XPathMatcher
startDocumentFragment
in class XPathMatcher
public void startElement(QName element, XMLAttributes attributes)
startElement
in class XPathMatcher
element
- The name of the element.attributes
- The element attributes.public void endElement(QName element, XSTypeDefinition type, boolean nillable, java.lang.Object actualValue, short valueType, ShortList itemValueType)
endElement
in class XPathMatcher
element
- name of the element.type
- 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".nillable
- - nillable
true if the element declaration is nillable.actualValue
- - actual value
the typed value of the content of this element.public IdentityConstraint getIdentityConstraint()
public int getInitialDepth()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |