| java.lang.Object net.sf.saxon.event.SequenceReceiver net.sf.saxon.event.ProxyReceiver net.sf.saxon.event.XML10ContentChecker
XML10ContentChecker | public class XML10ContentChecker extends ProxyReceiver (Code) | | This class is used on the serialization pipeline to check that the document conforms
to XML 1.0 rules. It is placed on the pipeline only when the configuration permits
XML 1.1 constructs, but the particular output document is being serialized as XML 1.0
|
Method Summary | |
public void | attribute(int nameCode, int typeCode, CharSequence value, int locationId, int properties) Notify an attribute. | public void | characters(CharSequence chars, int locationId, int properties) | public void | comment(CharSequence chars, int locationId, int properties) | public void | processingInstruction(String target, CharSequence data, int locationId, int properties) | public void | setPipelineConfiguration(PipelineConfiguration pipe) | public void | startElement(int nameCode, int typeCode, int locationId, int properties) |
attribute | public void attribute(int nameCode, int typeCode, CharSequence value, int locationId, int properties) throws XPathException(Code) | | Notify an attribute. Attributes are notified after the startElement event, and before any
children. Namespaces and attributes may be intermingled.
Parameters: nameCode - The name of the attribute, as held in the name pool Parameters: typeCode - The type of the attribute, as held in the name pool Parameters: properties - Bit significant value. The following bits are defined:DISABLE_ESCAPING Disable escaping for this attributeNO_SPECIAL_CHARACTERS Attribute value contains no special characters throws: IllegalStateException - : attempt to output an attribute when there is no open elementstart tag |
startElement | public void startElement(int nameCode, int typeCode, int locationId, int properties) throws XPathException(Code) | | Notify the start of an element
Parameters: nameCode - integer code identifying the name of the element within the name pool. Parameters: typeCode - integer code identifying the element's type within the name pool. Parameters: properties - properties of the element node |
Methods inherited from net.sf.saxon.event.ProxyReceiver | public void attribute(int nameCode, int typeCode, CharSequence value, int locationId, int properties) throws XPathException(Code)(Java Doc) public void characters(CharSequence chars, int locationId, int properties) throws XPathException(Code)(Java Doc) public void close() throws XPathException(Code)(Java Doc) public void comment(CharSequence chars, int locationId, int properties) throws XPathException(Code)(Java Doc) public void endDocument() throws XPathException(Code)(Java Doc) public void endElement() throws XPathException(Code)(Java Doc) public Configuration getConfiguration()(Code)(Java Doc) public LocationProvider getDocumentLocator()(Code)(Java Doc) public NamePool getNamePool()(Code)(Java Doc) public String getSystemId()(Code)(Java Doc) public Receiver getUnderlyingReceiver()(Code)(Java Doc) public void namespace(int namespaceCode, int properties) throws XPathException(Code)(Java Doc) public void open() throws XPathException(Code)(Java Doc) public void processingInstruction(String target, CharSequence data, int locationId, int properties) throws XPathException(Code)(Java Doc) public void setPipelineConfiguration(PipelineConfiguration config)(Code)(Java Doc) public void setSystemId(String systemId)(Code)(Java Doc) public void setUnderlyingReceiver(Receiver receiver)(Code)(Java Doc) public void setUnparsedEntity(String name, String uri, String publicId) throws XPathException(Code)(Java Doc) public void startContent() throws XPathException(Code)(Java Doc) public void startDocument(int properties) throws XPathException(Code)(Java Doc) public void startElement(int nameCode, int typeCode, int locationId, int properties) throws XPathException(Code)(Java Doc)
|
|
|