Class BufferedDocument
java.lang.Object
fr.opensagres.xdocreport.document.preprocessor.sax.BufferedElement
fr.opensagres.xdocreport.document.preprocessor.sax.BufferedDocument
- All Implemented Interfaces:
IBufferedRegion,ISavable
- Direct Known Subclasses:
TransformedBufferedDocument
Buffered document.
-
Field Summary
Fields inherited from class fr.opensagres.xdocreport.document.preprocessor.sax.BufferedElement
endTagElement, startTagElement -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BufferedElementcreateElement(BufferedElement parent, String uri, String localName, String name, Attributes attributes) Create an element instance.Returns the current element from the stack and null otherwise.voidonEndEndElement(String uri, String localName, String name) On end of End element.voidonEndStartElement(BufferedElement element, String uri, String localName, String name, Attributes attributes) On end of Start element.voidonStartEndElement(String uri, String localName, String name) On start of End element.onStartStartElement(String uri, String localName, String name, Attributes attributes) On start of Start element.Methods inherited from class fr.opensagres.xdocreport.document.preprocessor.sax.BufferedElement
addRegion, append, append, append, end, findChildAt, findChildAt, findChildren, findChildren, findFirstChild, findFirstChild, findParent, findParent, get, getAttributes, getEndTagElement, getEndTagElementName, getInnerText, getName, getOwnerElement, getParent, getStartTagElement, getStartTagElementName, getTextContent, isEnded, isReseted, isString, match, put, registerDynamicAttributes, removeAll, reset, save, setAttribute, setContentAfterEndTagElement, setContentBeforeStartTagElement, setInnerText, setTextContent, start, toString
-
Constructor Details
-
BufferedDocument
public BufferedDocument()
-
-
Method Details
-
onStartStartElement
public BufferedElement onStartStartElement(String uri, String localName, String name, Attributes attributes) throws SAXException On start of Start element.- Parameters:
uri-localName-name-attributes-- Returns:
- Throws:
SAXException
-
createElement
protected BufferedElement createElement(BufferedElement parent, String uri, String localName, String name, Attributes attributes) throws SAXException Create an element instance.- Parameters:
parent-uri-localName-name-attributes-- Returns:
- Throws:
SAXException
-
onEndStartElement
public void onEndStartElement(BufferedElement element, String uri, String localName, String name, Attributes attributes) throws SAXException On end of Start element.- Parameters:
element-uri-localName-name-attributes-- Throws:
SAXException
-
onStartEndElement
On start of End element.- Parameters:
uri-localName-name-
-
onEndEndElement
On end of End element.- Parameters:
uri-localName-name-
-
getCurrentElement
Returns the current element from the stack and null otherwise.- Returns:
-