public class PrimitiveListAttributeDefinition extends ListAttributeDefinition
Modifier and Type | Class and Description |
---|---|
static class |
PrimitiveListAttributeDefinition.Builder |
attributeMarshaller, COMPLEX_TYPES
Modifier | Constructor and Description |
---|---|
protected |
PrimitiveListAttributeDefinition(ListAttributeDefinition.Builder builder,
org.jboss.dmr.ModelType valueType) |
protected |
PrimitiveListAttributeDefinition(String name,
String xmlName,
boolean allowNull,
boolean allowExpressions,
org.jboss.dmr.ModelType valueType,
int minSize,
int maxSize,
ParameterValidator elementValidator,
String[] alternatives,
String[] requires,
AttributeMarshaller attributeMarshaller,
boolean resourceOnly,
DeprecationData deprecated,
AccessConstraintDefinition[] accessConstraints,
Boolean nullSignificant,
AttributeParser parser,
AttributeAccess.Flag... flags)
Deprecated.
use a
Builder |
protected |
PrimitiveListAttributeDefinition(String name,
String xmlName,
boolean allowNull,
boolean allowExpressions,
org.jboss.dmr.ModelType valueType,
int minSize,
int maxSize,
String[] alternatives,
String[] requires,
ParameterValidator elementValidator,
AttributeMarshaller attributeMarshaller,
boolean resourceOnly,
DeprecationData deprecated,
AccessConstraintDefinition[] accessConstraints,
AttributeAccess.Flag... flags)
Deprecated.
use a
Builder |
Modifier and Type | Method and Description |
---|---|
protected void |
addAttributeValueTypeDescription(org.jboss.dmr.ModelNode node,
ResourceDescriptionResolver resolver,
Locale locale,
ResourceBundle bundle) |
protected void |
addOperationParameterValueTypeDescription(org.jboss.dmr.ModelNode node,
String operationName,
ResourceDescriptionResolver resolver,
Locale locale,
ResourceBundle bundle) |
org.jboss.dmr.ModelNode |
addResourceAttributeDescription(ResourceBundle bundle,
String prefix,
org.jboss.dmr.ModelNode resourceDescription)
Creates a returns a basic model node describing the attribute, after attaching it to the given overall resource
description model node.
|
protected void |
addValueTypeDescription(org.jboss.dmr.ModelNode node) |
protected void |
addValueTypeDescription(org.jboss.dmr.ModelNode node,
ResourceBundle bundle) |
protected org.jboss.dmr.ModelNode |
convertParameterElementExpressions(org.jboss.dmr.ModelNode parameterElement)
Examine the given element of a parameter list for any expression syntax, converting the relevant node to
ModelType.EXPRESSION if such is supported. |
org.jboss.dmr.ModelType |
getValueType() |
addOperationParameterDescription, addOperationParameterDescription, addResourceAttributeDescription, convertParameterExpressions, getElementValidator, marshallAsElement, parse, parseAndAddParameterElement
addAccessConstraints, addAllowedValuesToDescription, addDeprecatedInfo, convertStringExpression, correctValue, getAccessConstraints, getAlternatives, getAttributeDeprecatedDescription, getAttributeMarshaller, getAttributeTextDescription, getCorrector, getDefaultValue, getDeprecationData, getFlags, getMeasurementUnit, getName, getNoTextDescription, getParser, getRequires, getType, getValidator, getXmlName, hasAlternative, isAllowed, isAllowExpression, isAllowNull, isDeprecated, isMarshallable, isMarshallable, isNullSignificant, isRequired, isResourceOnly, isValidatingNull, marshallAsElement, resolveModelAttribute, resolveModelAttribute, resolveValue, resolveValue, validateAndSet, validateOperation
@Deprecated protected PrimitiveListAttributeDefinition(String name, String xmlName, boolean allowNull, boolean allowExpressions, org.jboss.dmr.ModelType valueType, int minSize, int maxSize, String[] alternatives, String[] requires, ParameterValidator elementValidator, AttributeMarshaller attributeMarshaller, boolean resourceOnly, DeprecationData deprecated, AccessConstraintDefinition[] accessConstraints, AttributeAccess.Flag... flags)
Builder
@Deprecated protected PrimitiveListAttributeDefinition(String name, String xmlName, boolean allowNull, boolean allowExpressions, org.jboss.dmr.ModelType valueType, int minSize, int maxSize, ParameterValidator elementValidator, String[] alternatives, String[] requires, AttributeMarshaller attributeMarshaller, boolean resourceOnly, DeprecationData deprecated, AccessConstraintDefinition[] accessConstraints, Boolean nullSignificant, AttributeParser parser, AttributeAccess.Flag... flags)
Builder
protected PrimitiveListAttributeDefinition(ListAttributeDefinition.Builder builder, org.jboss.dmr.ModelType valueType)
public org.jboss.dmr.ModelType getValueType()
public org.jboss.dmr.ModelNode addResourceAttributeDescription(ResourceBundle bundle, String prefix, org.jboss.dmr.ModelNode resourceDescription)
AttributeDefinition
addResourceAttributeDescription
in class ListAttributeDefinition
bundle
- resource bundle to use for text descriptionsprefix
- prefix to prepend to the attribute name key when looking up descriptionsresourceDescription
- the overall resource descriptionprotected void addValueTypeDescription(org.jboss.dmr.ModelNode node, ResourceBundle bundle)
addValueTypeDescription
in class ListAttributeDefinition
protected void addValueTypeDescription(org.jboss.dmr.ModelNode node)
protected org.jboss.dmr.ModelNode convertParameterElementExpressions(org.jboss.dmr.ModelNode parameterElement)
ListAttributeDefinition
ModelType.EXPRESSION
if such is supported. This implementation will only convert elements of
ModelType.STRING
. Subclasses that need to handle complex elements should override this method.convertParameterElementExpressions
in class ListAttributeDefinition
parameterElement
- the node to examine. Will not be null
null
protected void addAttributeValueTypeDescription(org.jboss.dmr.ModelNode node, ResourceDescriptionResolver resolver, Locale locale, ResourceBundle bundle)
addAttributeValueTypeDescription
in class ListAttributeDefinition
protected void addOperationParameterValueTypeDescription(org.jboss.dmr.ModelNode node, String operationName, ResourceDescriptionResolver resolver, Locale locale, ResourceBundle bundle)
addOperationParameterValueTypeDescription
in class ListAttributeDefinition
Copyright © 2014 JBoss by Red Hat. All rights reserved.