Package org.jboss.as.controller.xml
Class XMLContent.DefaultXMLContent<RC,WC>
java.lang.Object
org.jboss.as.controller.xml.XMLContent.DefaultXMLContent<RC,WC>
- All Implemented Interfaces:
XMLContent<RC,,WC> XMLContentWriter<WC>,org.jboss.staxmapper.XMLElementWriter<WC>
- Enclosing interface:
- XMLContent<RC,
WC>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.as.controller.xml.XMLContent
XMLContent.DefaultXMLContent<RC,WC> -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether the specified content is empty.voidreadContent(org.jboss.staxmapper.XMLExtendedStreamReader reader, RC context) Reads element content into the specified reader context.voidwriteContent(org.jboss.staxmapper.XMLExtendedStreamWriter writer, WC content) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.controller.xml.XMLContentWriter
andThen, compose, map
-
Method Details
-
readContent
public void readContent(org.jboss.staxmapper.XMLExtendedStreamReader reader, RC context) throws XMLStreamException Description copied from interface:XMLContentReads element content into the specified reader context.- Specified by:
readContentin interfaceXMLContent<RC,WC> - Parameters:
reader- a StaX readercontext- the reader context- Throws:
XMLStreamException- if the input could not be read from the specified reader.
-
isEmpty
Description copied from interface:XMLContentWriterIndicates whether the specified content is empty.- Specified by:
isEmptyin interfaceXMLContentWriter<RC>
-
writeContent
public void writeContent(org.jboss.staxmapper.XMLExtendedStreamWriter writer, WC content) throws XMLStreamException - Specified by:
writeContentin interfaceorg.jboss.staxmapper.XMLElementWriter<RC>- Throws:
XMLStreamException
-