protected static final class ComplexAttributes.KeyManagerAttributeMarshaller extends DefaultAttributeMarshaller
Modifier | Constructor and Description |
---|---|
protected |
ComplexAttributes.KeyManagerAttributeMarshaller() |
Modifier and Type | Method and Description |
---|---|
void |
marshallAsAttribute(AttributeDefinition attribute,
org.jboss.dmr.ModelNode resourceModel,
boolean marshallDefault,
XMLStreamWriter writer)
Marshalls the value from the given
resourceModel as an xml element, if it
is marshallable . |
marshallAsElement, marshallAsElement
isMarshallable, isMarshallable, isMarshallableAsElement
protected ComplexAttributes.KeyManagerAttributeMarshaller()
public void marshallAsAttribute(AttributeDefinition attribute, org.jboss.dmr.ModelNode resourceModel, boolean marshallDefault, XMLStreamWriter writer) throws XMLStreamException
AttributeMarshaller
resourceModel
as an xml element, if it
is marshallable
.marshallAsAttribute
in class DefaultAttributeMarshaller
attribute
- - attribute for which marshaling is being doneresourceModel
- the model, a non-null node of ModelType.OBJECT
.writer
- stream writer to use for writing the attributeXMLStreamException
- if thrown by writer
Copyright © 2014 JBoss by Red Hat. All rights reserved.