public class PackageInspector extends ProxyReceiver
nextReceiverpipelineConfiguration, previousAtomic, systemId| Modifier and Type | Method and Description |
|---|---|
void |
attribute(NodeName name,
SimpleType typeCode,
java.lang.CharSequence value,
Location locationId,
int properties)
Notify an attribute.
|
static PackageDetails |
getPackageDetails(java.io.File top,
Configuration config) |
void |
startElement(NodeName namecode,
SchemaType typecode,
Location location,
int properties)
Abort the parse when the first start element tag is found
|
append, characters, close, comment, endDocument, endElement, getNamePool, getNextReceiver, namespace, open, processingInstruction, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument, usesTypeAnnotationsappend, decompose, flatten, getConfiguration, getErrorCodeForDecomposingFunctionItems, getPipelineConfiguration, getSystemId, handlesAppendpublic void startElement(NodeName namecode, SchemaType typecode, Location location, int properties) throws XPathException
startElement in interface ReceiverstartElement in class ProxyReceivernamecode - integer code identifying the name of the element within the name pool.typecode - the element's type annotation.location - a location associated with the event (typically either a location in the
source document or the stylesheet)properties - properties of the element nodeXPathException - if an error occurspublic void attribute(NodeName name, SimpleType typeCode, java.lang.CharSequence value, Location locationId, int properties) throws XPathException
attribute in interface Receiverattribute in class ProxyReceivername - The name of the attributetypeCode - The type of the attributevalue - locationId - the location of the node in the source, or of the instruction that created itproperties - Bit significant value. The following bits are defined:
IllegalStateException: - attempt to output an attribute when there is no open elementXPathException - if an error occurspublic static PackageDetails getPackageDetails(java.io.File top, Configuration config) throws XPathException
XPathExceptionCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.