Module org.eclipse.persistence.core
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 voidappendChildNode(Node parent, Node child)AttrbuildAttributeNode(String namespaceURI, String localName, String value)TextbuildTextNode(String textValue)voidendElement(String namespaceURI, String localName, String qName)voidendSelfElement(String namespaceURI, String localName, String qName)List<Node>getNodes()voidsetMixedContent(boolean mixedContent)voidsetOwningRecord(UnmarshalRecord record)voidstartElement(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:
startElementin interfaceContentHandler- Overrides:
startElementin classSAXDocumentBuilder- Throws:
SAXException
-
endElement
public void endElement(String namespaceURI, String localName, String qName) throws SAXException
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin 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:
appendChildNodein classSAXDocumentBuilder
-
buildAttributeNode
public Attr buildAttributeNode(String namespaceURI, String localName, String value)
-
setMixedContent
public void setMixedContent(boolean mixedContent)
-
-