Package org.frankframework.xml
Class SaxElementBuilder
java.lang.Object
org.frankframework.xml.SaxElementBuilder
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
SaxDocumentBuilder
-
Constructor Summary
ConstructorDescriptionSaxElementBuilder
(String elementName) SaxElementBuilder
(String elementName, ContentHandler handler) SaxElementBuilder
(ContentHandler handler) -
Method Summary
Modifier and TypeMethodDescriptionaddAttribute
(String name, int value) addAttribute
(String name, String value) addAttributes
(Map<String, String> attributes) void
addElement
(String elementName) void
addElement
(String elementName, String value) void
addElement
(String elementName, String attributeName, String attributeValue, String value) void
addElement
(String elementName, Map<String, String> attributes) void
void
addValue
(char[] chars, int offset, int len) void
close()
startElement
(String elementName)
-
Constructor Details
-
SaxElementBuilder
- Throws:
SAXException
-
SaxElementBuilder
- Throws:
SAXException
-
SaxElementBuilder
- Throws:
SAXException
-
-
Method Details
-
addAttribute
- Throws:
SAXException
-
addAttribute
- Throws:
SAXException
-
addAttributes
- Throws:
SAXException
-
endElement
- Throws:
SAXException
-
addValue
- Throws:
SAXException
-
addValue
- Throws:
SAXException
-
startElement
- Throws:
SAXException
-
addElement
- Throws:
SAXException
-
addElement
- Throws:
SAXException
-
addElement
- Throws:
SAXException
-
addElement
public void addElement(String elementName, Map<String, String> attributes, String value) throws SAXException- Throws:
SAXException
-
addElement
public void addElement(String elementName, String attributeName, String attributeValue, String value) throws SAXException - Throws:
SAXException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
SAXException
-