org.nuxeo.wss.fprpc
Class CAMLHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.nuxeo.wss.fprpc.CAMLHandler
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
public class CAMLHandler
- extends DefaultHandler
SAX ContentHandler to parse CAML Batch requests.
References :
- http://msdn.microsoft.com/en-us/library/dd586422(office.11).aspx
- Author:
- Thierry Delprat
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
METHOD_TAG
public static final String METHOD_TAG
- See Also:
- Constant Field Values
SETVAR_TAG
public static final String SETVAR_TAG
- See Also:
- Constant Field Values
ID_ATTRIBUTE
public static final String ID_ATTRIBUTE
- See Also:
- Constant Field Values
NAME_ATTRIBUTE
public static final String NAME_ATTRIBUTE
- See Also:
- Constant Field Values
CAMLHandler
public CAMLHandler()
startElement
public void startElement(String uri,
String localName,
String name,
Attributes attributes)
throws SAXException
- Specified by:
startElement
in interface ContentHandler
- Overrides:
startElement
in class DefaultHandler
- Throws:
SAXException
characters
public void characters(char[] ch,
int start,
int length)
throws SAXException
- Specified by:
characters
in interface ContentHandler
- Overrides:
characters
in class DefaultHandler
- Throws:
SAXException
endElement
public void endElement(String uri,
String localName,
String name)
throws SAXException
- Specified by:
endElement
in interface ContentHandler
- Overrides:
endElement
in class DefaultHandler
- Throws:
SAXException
getParsedCalls
public List<FPRPCCall> getParsedCalls()
getXMLReader
public static XMLReader getXMLReader()
throws SAXException
- Throws:
SAXException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.