Home
last modified time | relevance | path

Searched refs:sax (Results 1 – 25 of 164) sorted by relevance

1234567

/external/libxml2/
Dlegacy.c202 *((xmlSAXHandlerPtr *) result) = ctxt->sax; in xmlGetFeature()
204 *((internalSubsetSAXFunc *) result) = ctxt->sax->internalSubset; in xmlGetFeature()
206 *((isStandaloneSAXFunc *) result) = ctxt->sax->isStandalone; in xmlGetFeature()
209 ctxt->sax->hasInternalSubset; in xmlGetFeature()
212 ctxt->sax->hasExternalSubset; in xmlGetFeature()
214 *((resolveEntitySAXFunc *) result) = ctxt->sax->resolveEntity; in xmlGetFeature()
216 *((getEntitySAXFunc *) result) = ctxt->sax->getEntity; in xmlGetFeature()
218 *((entityDeclSAXFunc *) result) = ctxt->sax->entityDecl; in xmlGetFeature()
220 *((notationDeclSAXFunc *) result) = ctxt->sax->notationDecl; in xmlGetFeature()
222 *((attributeDeclSAXFunc *) result) = ctxt->sax->attributeDecl; in xmlGetFeature()
[all …]
Dparser.c214 xmlSAXHandlerPtr sax,
528 if ((ctxt != NULL) && (ctxt->sax != NULL) && in xmlWarningMsg()
529 (ctxt->sax->initialized == XML_SAX2_MAGIC)) in xmlWarningMsg()
530 schannel = ctxt->sax->serror; in xmlWarningMsg()
533 (ctxt->sax) ? ctxt->sax->warning : NULL, in xmlWarningMsg()
568 if ((ctxt->sax != NULL) && (ctxt->sax->initialized == XML_SAX2_MAGIC)) in xmlValidityError()
569 schannel = ctxt->sax->serror; in xmlValidityError()
995 if ((ctxt->sax) && (ctxt->sax->initialized == XML_SAX2_MAGIC) && in xmlDetectSAX2()
996 ((ctxt->sax->startElementNs != NULL) || in xmlDetectSAX2()
997 (ctxt->sax->endElementNs != NULL))) ctxt->sax2 = 1; in xmlDetectSAX2()
[all …]
DHTMLparser.c1322 if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL)) in htmlAutoCloseOnClose()
1323 ctxt->sax->endElement(ctxt->userData, ctxt->name); in htmlAutoCloseOnClose()
1342 if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL)) in htmlAutoCloseOnEnd()
1343 ctxt->sax->endElement(ctxt->userData, ctxt->name); in htmlAutoCloseOnEnd()
1365 if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL)) in htmlAutoClose()
1366 ctxt->sax->endElement(ctxt->userData, ctxt->name); in htmlAutoClose()
1377 if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL)) in htmlAutoClose()
1378 ctxt->sax->endElement(ctxt->userData, ctxt->name); in htmlAutoClose()
1456 if ((ctxt->sax != NULL) && (ctxt->sax->startElement != NULL)) in htmlCheckImplied()
1457 ctxt->sax->startElement(ctxt->userData, BAD_CAST"html", NULL); in htmlCheckImplied()
[all …]
DDOCBparser.c143 docbCreatePushParserCtxt(docbSAXHandlerPtr sax ATTRIBUTE_UNUSED, in docbCreatePushParserCtxt()
158 return(xmlCreatePushParserCtxt(sax, user_data, chunk, size, filename)); in docbCreatePushParserCtxt()
178 docbSAXHandlerPtr sax ATTRIBUTE_UNUSED, in docbSAXParseDoc()
189 return (xmlSAXParseMemoryWithData(sax, (const char *)cur, in docbSAXParseDoc()
263 docbSAXHandlerPtr sax ATTRIBUTE_UNUSED, in docbSAXParseFile()
274 return (xmlSAXParseFileWithData(sax, filename, 0, userData)); in docbSAXParseFile()
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DTrAXFilter.java33 import org.xml.sax.ContentHandler;
34 import org.xml.sax.DTDHandler;
35 import org.xml.sax.EntityResolver;
36 import org.xml.sax.InputSource;
37 import org.xml.sax.XMLReader;
38 import org.xml.sax.helpers.XMLFilterImpl;
39 import org.xml.sax.helpers.XMLReaderFactory;
109 throws org.xml.sax.SAXException, IOException in parse()
125 catch (org.xml.sax.SAXException se) {} in parse()
133 throw new org.xml.sax.SAXException( ex ); in parse()
[all …]
DTransformerIdentityImpl.java40 import javax.xml.transform.sax.SAXResult;
41 import javax.xml.transform.sax.SAXSource;
42 import javax.xml.transform.sax.TransformerHandler;
59 import org.xml.sax.Attributes;
60 import org.xml.sax.ContentHandler;
61 import org.xml.sax.DTDHandler;
62 import org.xml.sax.InputSource;
63 import org.xml.sax.Locator;
64 import org.xml.sax.SAXException;
65 import org.xml.sax.XMLReader;
[all …]
/external/apache-xml/src/main/java/org/apache/xml/utils/
DDOMBuilder.java36 import org.xml.sax.Attributes;
37 import org.xml.sax.ContentHandler;
38 import org.xml.sax.Locator;
39 import org.xml.sax.ext.LexicalHandler;
175 protected void append(Node newNode) throws org.xml.sax.SAXException in append()
207 throw new org.xml.sax.SAXException( in append()
220 throw new org.xml.sax.SAXException( in append()
274 public void startDocument() throws org.xml.sax.SAXException in startDocument()
289 public void endDocument() throws org.xml.sax.SAXException in endDocument()
320 throws org.xml.sax.SAXException in startElement()
[all …]
DTreeWalker.java33 import org.xml.sax.ContentHandler;
34 import org.xml.sax.Locator;
35 import org.xml.sax.ext.LexicalHandler;
36 import org.xml.sax.helpers.LocatorImpl;
152 public void traverse(Node pos) throws org.xml.sax.SAXException in traverse()
171 public void traverseFragment(Node pos) throws org.xml.sax.SAXException in traverseFragment()
223 public void traverse(Node pos, Node top) throws org.xml.sax.SAXException in traverse()
268 throws org.xml.sax.SAXException in dispatachChars()
289 protected void startNode(Node node) throws org.xml.sax.SAXException in startNode()
453 protected void endNode(Node node) throws org.xml.sax.SAXException
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DIncrementalSAXSource_Filter.java30 import org.xml.sax.Attributes;
31 import org.xml.sax.ContentHandler;
32 import org.xml.sax.DTDHandler;
33 import org.xml.sax.ErrorHandler;
34 import org.xml.sax.InputSource;
35 import org.xml.sax.Locator;
36 import org.xml.sax.SAXException;
37 import org.xml.sax.SAXNotRecognizedException;
38 import org.xml.sax.SAXNotSupportedException;
39 import org.xml.sax.SAXParseException;
[all …]
DDTMDocumentImpl.java34 import org.xml.sax.Attributes;
35 import org.xml.sax.ContentHandler;
36 import org.xml.sax.Locator;
37 import org.xml.sax.ext.LexicalHandler;
64 implements DTM, org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler
321 public org.xml.sax.ContentHandler getContentHandler() in getContentHandler()
353 public org.xml.sax.EntityResolver getEntityResolver() in getEntityResolver()
364 public org.xml.sax.DTDHandler getDTDHandler() in getDTDHandler()
375 public org.xml.sax.ErrorHandler getErrorHandler() in getErrorHandler()
386 public org.xml.sax.ext.DeclHandler getDeclHandler() in getDeclHandler()
[all …]
DIncrementalSAXSource.java24 import org.xml.sax.ContentHandler;
25 import org.xml.sax.InputSource;
26 import org.xml.sax.SAXException;
49 public void setLexicalHandler(org.xml.sax.ext.LexicalHandler handler); in setLexicalHandler()
53 public void setDTDHandler(org.xml.sax.DTDHandler handler); in setDTDHandler()
DDTMTreeWalker.java27 import org.xml.sax.ContentHandler;
28 import org.xml.sax.ext.LexicalHandler;
106 public void traverse(int pos) throws org.xml.sax.SAXException in traverse()
158 public void traverse(int pos, int top) throws org.xml.sax.SAXException in traverse()
202 throws org.xml.sax.SAXException in dispatachChars()
215 protected void startNode(int node) throws org.xml.sax.SAXException in startNode()
264 org.xml.sax.helpers.AttributesImpl attrs = in startNode()
265 new org.xml.sax.helpers.AttributesImpl(); in startNode()
363 protected void endNode(int node) throws org.xml.sax.SAXException in endNode()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DToTextStream.java27 import org.xml.sax.Attributes;
28 import org.xml.sax.SAXException;
63 protected void startDocumentInternal() throws org.xml.sax.SAXException in startDocumentInternal()
86 public void endDocument() throws org.xml.sax.SAXException in endDocument()
128 throws org.xml.sax.SAXException in startElement()
164 throws org.xml.sax.SAXException in endElement()
196 throws org.xml.sax.SAXException in characters()
243 throws org.xml.sax.SAXException in charactersRaw()
275 throws IOException, org.xml.sax.SAXException in writeNormalizedChars()
378 throws org.xml.sax.SAXException in cdata()
[all …]
DSerializationHandler.java28 import org.xml.sax.ContentHandler;
29 import org.xml.sax.ErrorHandler;
30 import org.xml.sax.SAXException;
31 import org.xml.sax.ext.DeclHandler;
49 org.xml.sax.DTDHandler,
DExtendedContentHandler.java25 import org.xml.sax.SAXException;
47 public interface ExtendedContentHandler extends org.xml.sax.ContentHandler
72 public void addAttributes(org.xml.sax.Attributes atts) in addAttributes()
73 throws org.xml.sax.SAXException; in addAttributes()
97 public void characters(org.w3c.dom.Node node) throws org.xml.sax.SAXException; in characters()
126 throws org.xml.sax.SAXException; in startElement()
DToTextSAXHandler.java29 import org.xml.sax.Attributes;
30 import org.xml.sax.ContentHandler;
31 import org.xml.sax.Locator;
32 import org.xml.sax.SAXException;
33 import org.xml.sax.ext.LexicalHandler;
81 throws org.xml.sax.SAXException in comment()
87 public void comment(String data) throws org.xml.sax.SAXException in comment()
399 throws org.xml.sax.SAXException in startPrefixMapping()
DSerializerBase.java33 import org.xml.sax.Attributes;
34 import org.xml.sax.ContentHandler;
35 import org.xml.sax.Locator;
36 import org.xml.sax.SAXException;
37 import org.xml.sax.SAXParseException;
96 throws org.xml.sax.SAXException in fireEndElem()
112 throws org.xml.sax.SAXException in fireCharEvent()
525 public void endEntity(String name) throws org.xml.sax.SAXException in endEntity()
901 public void entityReference(String name) throws org.xml.sax.SAXException in entityReference()
949 throws org.xml.sax.SAXException in characters()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/processor/
DStylesheetHandler.java31 import javax.xml.transform.sax.TemplatesHandler;
53 import org.xml.sax.Attributes;
54 import org.xml.sax.InputSource;
55 import org.xml.sax.Locator;
56 import org.xml.sax.helpers.DefaultHandler;
57 import org.xml.sax.helpers.NamespaceSupport;
308 throws org.xml.sax.SAXException in resolveEntity()
367 throws org.xml.sax.SAXException in getProcessorFor()
429 public void startDocument() throws org.xml.sax.SAXException in startDocument()
463 public void endDocument() throws org.xml.sax.SAXException in endDocument()
[all …]
DXSLTElementProcessor.java33 import org.xml.sax.Attributes;
34 import org.xml.sax.InputSource;
35 import org.xml.sax.helpers.AttributesImpl;
93 throws org.xml.sax.SAXException in resolveEntity()
142 public void startNonText(StylesheetHandler handler) throws org.xml.sax.SAXException in startNonText()
159 throws org.xml.sax.SAXException in startElement()
178 throws org.xml.sax.SAXException in endElement()
199 throws org.xml.sax.SAXException in characters()
217 throws org.xml.sax.SAXException in ignorableWhitespace()
234 throws org.xml.sax.SAXException in processingInstruction()
[all …]
DXSLTAttributeDef.java515 throws org.xml.sax.SAXException in processAVT()
526 throw new org.xml.sax.SAXException(te); in processAVT()
546 throws org.xml.sax.SAXException in processCDATA()
556 throw new org.xml.sax.SAXException(te); in processCDATA()
579 throws org.xml.sax.SAXException in processCHAR()
595 throw new org.xml.sax.SAXException(te); in processCHAR()
624 throws org.xml.sax.SAXException in processENUM()
638 throw new org.xml.sax.SAXException(te); in processENUM()
674 throws org.xml.sax.SAXException in processENUM_OR_PQNAME()
688 throw new org.xml.sax.SAXException(te); in processENUM_OR_PQNAME()
[all …]
DProcessorInclude.java30 import javax.xml.transform.sax.SAXSource;
40 import org.xml.sax.Attributes;
41 import org.xml.sax.InputSource;
42 import org.xml.sax.XMLReader;
43 import org.xml.sax.helpers.XMLReaderFactory;
125 throws org.xml.sax.SAXException in startElement()
141 throw new org.xml.sax.SAXException( in startElement()
191 throws org.xml.sax.SAXException in parse()
237 catch(org.xml.sax.SAXException se) in parse()
282 catch (org.xml.sax.SAXException se) {} in parse()
[all …]
DTransformerFactoryImpl.java39 import javax.xml.transform.sax.SAXResult;
40 import javax.xml.transform.sax.SAXSource;
41 import javax.xml.transform.sax.SAXTransformerFactory;
42 import javax.xml.transform.sax.TemplatesHandler;
43 import javax.xml.transform.sax.TransformerHandler;
63 import org.xml.sax.InputSource;
64 import org.xml.sax.XMLFilter;
65 import org.xml.sax.XMLReader;
66 import org.xml.sax.helpers.XMLReaderFactory;
123 catch (org.xml.sax.SAXException se) in processFromNode()
[all …]
DProcessorTemplateElem.java28 import org.xml.sax.Attributes;
50 throws org.xml.sax.SAXException in startElement()
83 throw new org.xml.sax.SAXException(te); in startElement()
100 throws org.xml.sax.SAXException in appendAndPush()
121 throws org.xml.sax.SAXException in endElement()
/external/apache-xml/src/main/java/org/apache/xml/dtm/
DDTM.java820 int nodeHandle, org.xml.sax.ContentHandler ch, boolean normalize) in dispatchCharactersEvents()
821 throws org.xml.sax.SAXException; in dispatchCharactersEvents()
832 public void dispatchToEvents(int nodeHandle, org.xml.sax.ContentHandler ch) in dispatchToEvents()
833 throws org.xml.sax.SAXException; in dispatchToEvents()
866 public org.xml.sax.ContentHandler getContentHandler(); in getContentHandler()
875 public org.xml.sax.ext.LexicalHandler getLexicalHandler(); in getLexicalHandler()
882 public org.xml.sax.EntityResolver getEntityResolver(); in getEntityResolver()
889 public org.xml.sax.DTDHandler getDTDHandler(); in getDTDHandler()
896 public org.xml.sax.ErrorHandler getErrorHandler(); in getErrorHandler()
903 public org.xml.sax.ext.DeclHandler getDeclHandler(); in getDeclHandler()
/external/jdiff/src/jdiff/
DXMLToAPI.java7 import org.xml.sax.Attributes;
8 import org.xml.sax.SAXException;
9 import org.xml.sax.SAXParseException;
10 import org.xml.sax.XMLReader;
11 import org.xml.sax.InputSource;
12 import org.xml.sax.helpers.*;
52 …parser = org.xml.sax.helpers.XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser… in readFile()
56 parser = org.xml.sax.helpers.XMLReaderFactory.createXMLReader(); in readFile()
72 } catch(org.xml.sax.SAXNotRecognizedException snre) { in readFile()
76 } catch(org.xml.sax.SAXNotSupportedException snse) { in readFile()
[all …]

1234567