Class SAXFragmentBuilder
- java.lang.Object
-
- org.eclipse.persistence.platform.xml.SAXDocumentBuilder
-
- org.eclipse.persistence.internal.oxm.SAXFragmentBuilder
-
- All Implemented Interfaces:
ExtendedContentHandler
,ContentHandler
,LexicalHandler
public class SAXFragmentBuilder extends SAXDocumentBuilder
- Since:
- release specific (what release of product did this appear in)
- Version:
- $Header: SAXFragmentBuilder.java 18-sep-2007.14:36:11 dmahar Exp $
- Author:
- mmacivor
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.platform.xml.SAXDocumentBuilder
document, locator, namespaceDeclarations, nodes, stringBuffer, xmlPlatform
-
-
Constructor Summary
Constructors Constructor Description SAXFragmentBuilder(UnmarshalRecord unmarshalRecord)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendChildNode(Node parent, Node child)
Attr
buildAttributeNode(String namespaceURI, String localName, String value)
Text
buildTextNode(String textValue)
void
endElement(String namespaceURI, String localName, String qName)
void
endSelfElement(String namespaceURI, String localName, String qName)
List<Node>
getNodes()
void
setMixedContent(boolean mixedContent)
void
setOwningRecord(UnmarshalRecord record)
void
startElement(String namespaceURI, String localName, String qName, Attributes atts)
-
Methods inherited from class org.eclipse.persistence.platform.xml.SAXDocumentBuilder
addNamespaceDeclaration, characters, characters, comment, endCDATA, endDocument, endDTD, endEntity, endPrefixMapping, getDocument, getInitializedDocument, ignorableWhitespace, processingInstruction, setDocumentLocator, setNil, skippedEntity, startCDATA, startDocument, startDTD, startEntity, startPrefixMapping
-
-
-
-
Constructor Detail
-
SAXFragmentBuilder
public SAXFragmentBuilder(UnmarshalRecord unmarshalRecord)
-
-
Method Detail
-
startElement
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
- Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classSAXDocumentBuilder
- Throws:
SAXException
-
endElement
public void endElement(String namespaceURI, String localName, String qName) throws SAXException
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classSAXDocumentBuilder
- Throws:
SAXException
-
endSelfElement
public void endSelfElement(String namespaceURI, String localName, String qName) throws SAXException
- Throws:
SAXException
-
setOwningRecord
public void setOwningRecord(UnmarshalRecord record)
-
appendChildNode
public void appendChildNode(Node parent, Node child)
- Overrides:
appendChildNode
in classSAXDocumentBuilder
-
buildAttributeNode
public Attr buildAttributeNode(String namespaceURI, String localName, String value)
-
setMixedContent
public void setMixedContent(boolean mixedContent)
-
-