Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.xalan.xsltc.trax.SAX2DOM
Fields inherited from interface org.apache.xalan.xsltc.runtime.Constants | |
ANY , ATTRIBUTE , COMMENT , ELEMENT , EMPTYSTRING , NAMESPACE_FEATURE , PROCESSING_INSTRUCTION , ROOT , TEXT , XMLNS_PREFIX , XMLNS_STRING , XMLNS_URI , XML_PREFIX , XSLT_URI |
Method Summary | |
void |
|
void |
|
void |
|
void |
|
void | |
void |
|
void |
|
void |
|
Node |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void | |
void |
|
void |
|
void |
|
public void characters(char[] ch, int start, int length)
public void comment(char[] ch, int start, int length)
Lexical Handler method to create comment node in DOM tree.
public void endCDATA()
Report the end of a CDATA section.
- Specified by:
- endCDATA in interface LexicalHandler
- See Also:
LexicalHandler.startCDATA()
public void endDTD()
Report the end of DTD declarations. This method is intended to report the end of the DOCTYPE declaration; if the document has no DOCTYPE declaration, this method will not be invoked.
- Specified by:
- endDTD in interface LexicalHandler
public void endElement(String namespace, String localName, String qName)
- Specified by:
- endElement in interface ContentHandler
public void endEntity(String name)
Report the end of an entity.
- Specified by:
- endEntity in interface LexicalHandler
- Parameters:
name
- The name of the entity that is ending.
- See Also:
LexicalHandler.startEntity(String)
public void endPrefixMapping(String prefix)
- Specified by:
- endPrefixMapping in interface ContentHandler
public void ignorableWhitespace(char[] ch, int start, int length)
This class is only used internally so this method should never be called.
public void processingInstruction(String target, String data)
adds processing instruction node to DOM.
- Specified by:
- processingInstruction in interface ContentHandler
public void setDocumentLocator(Locator locator)
This class is only used internally so this method should never be called.
- Specified by:
- setDocumentLocator in interface ContentHandler
public void skippedEntity(String name)
This class is only used internally so this method should never be called.
- Specified by:
- skippedEntity in interface ContentHandler
public void startCDATA()
Report the start of a CDATA section. The contents of the CDATA section will be reported through the regularcharacters
event; this event is intended only to report the boundary.
- Specified by:
- startCDATA in interface LexicalHandler
- See Also:
LexicalHandler.endCDATA()
public void startDTD(String name, String publicId, String systemId) throws SAXException
Report the start of DTD declarations, if any. This method is intended to report the beginning of the DOCTYPE declaration; if the document has no DOCTYPE declaration, this method will not be invoked. All declarations reported throughDTDHandler
orDeclHandler
events must appear between the startDTD andendDTD
events. Declarations are assumed to belong to the internal DTD subset unless they appear betweenstartEntity
andendEntity
events. Comments and processing instructions from the DTD should also be reported between the startDTD and endDTD events, in their original order of (logical) occurrence; they are not required to appear in their correct locations relative to DTDHandler or DeclHandler events, however. Note that the start/endDTD events will appear within the start/endDocument events from ContentHandler and before the firststartElement
event.
- Specified by:
- startDTD in interface LexicalHandler
- Parameters:
name
- The document type name.publicId
- The declared public identifier for the external DTD subset, or null if none was declared.systemId
- The declared system identifier for the external DTD subset, or null if none was declared. (Note that this is not resolved against the document base URI.)
- Throws:
SAXException
- The application may raise an exception.
public void startElement(String namespace, String localName, String qName, Attributes attrs)
- Specified by:
- startElement in interface ContentHandler
public void startEntity(java.lang.String name)
public void startPrefixMapping(String prefix, String uri)
- Specified by:
- startPrefixMapping in interface ContentHandler