public class PackageInspector extends ProxyReceiver
nextReceiver
pipelineConfiguration, 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, getUnderlyingReceiver, namespace, open, processingInstruction, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument, usesTypeAnnotations
append, getConfiguration, getPipelineConfiguration, getSystemId, isTrueSequenceReceiver
public void startElement(NodeName namecode, SchemaType typecode, Location location, int properties) throws XPathException
startElement
in interface Receiver
startElement
in class ProxyReceiver
namecode
- integer code identifying the name of the element within the name pool.typecode
- integer code identifying the element's type within the name pool.location
- an object providing information about the module, line, and column where the node originatedproperties
- 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 Receiver
attribute
in class ProxyReceiver
name
- The name of the attributetypeCode
- The type of the attributevalue
- locationId
- properties
- Bit significant value. The following bits are defined:
XPathException
- if an error occurspublic static PackageDetails getPackageDetails(java.io.File top, Configuration config)
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.