Package org.jboss.as.controller
Class PersistentResourceXMLParser
- java.lang.Object
-
- org.jboss.as.controller.PersistentResourceXMLParser
-
- All Implemented Interfaces:
Function<PersistentResourceXMLDescription,PersistentResourceXMLDescription>
,UnaryOperator<PersistentResourceXMLDescription>
,XMLStreamConstants
,org.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>>
,org.jboss.staxmapper.XMLElementWriter<SubsystemMarshallingContext>
public abstract class PersistentResourceXMLParser extends Object implements XMLStreamConstants, org.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>>, org.jboss.staxmapper.XMLElementWriter<SubsystemMarshallingContext>, UnaryOperator<PersistentResourceXMLDescription>
- Author:
- Tomaz Cerar (c) 2015 Red Hat Inc.
-
-
Field Summary
-
Fields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
-
-
Constructor Summary
Constructors Constructor Description PersistentResourceXMLParser()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PersistentResourceXMLDescription
apply(PersistentResourceXMLDescription description)
void
cacheXMLDescription()
Deprecated.Experimental; for internal use only.abstract PersistentResourceXMLDescription
getParserDescription()
void
readElement(org.jboss.staxmapper.XMLExtendedStreamReader reader, List<org.jboss.dmr.ModelNode> modelNodes)
void
writeContent(org.jboss.staxmapper.XMLExtendedStreamWriter writer, SubsystemMarshallingContext context)
-
-
-
Method Detail
-
getParserDescription
public abstract PersistentResourceXMLDescription getParserDescription()
-
cacheXMLDescription
@Deprecated public final void cacheXMLDescription()
Deprecated.Experimental; for internal use only. May be removed at any time.
-
apply
public PersistentResourceXMLDescription apply(PersistentResourceXMLDescription description)
- Specified by:
apply
in interfaceFunction<PersistentResourceXMLDescription,PersistentResourceXMLDescription>
-
readElement
public void readElement(org.jboss.staxmapper.XMLExtendedStreamReader reader, List<org.jboss.dmr.ModelNode> modelNodes) throws XMLStreamException
- Specified by:
readElement
in interfaceorg.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>>
- Throws:
XMLStreamException
-
writeContent
public void writeContent(org.jboss.staxmapper.XMLExtendedStreamWriter writer, SubsystemMarshallingContext context) throws XMLStreamException
- Specified by:
writeContent
in interfaceorg.jboss.staxmapper.XMLElementWriter<SubsystemMarshallingContext>
- Throws:
XMLStreamException
-
-