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>
public static class XMLContent.DefaultXMLContent<RC,WC> extends Object implements XMLContent<RC,WC>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.as.controller.xml.XMLContent
XMLContent.DefaultXMLContent<RC,WC>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisEmpty(WC content)Indicates 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, wait
-
Methods inherited from interface org.jboss.as.controller.xml.XMLContentWriter
andThen, compose, map
-
-
-
-
Method Detail
-
readContent
public void readContent(org.jboss.staxmapper.XMLExtendedStreamReader reader, RC context) throws XMLStreamExceptionDescription 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
public boolean isEmpty(WC content)
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
-
-