| Modifier and Type | Method and Description | 
|---|---|
static AttributeInfo | 
forGlobalAttribute(org.apache.ws.commons.schema.XmlSchemaAttribute attribute,
                  org.apache.ws.commons.schema.XmlSchema currentSchema,
                  SchemaCollection schemaCollection,
                  NamespacePrefixAccumulator prefixAccumulator)
Create an elementInfo that stores information about a global, named,
 element. 
 | 
static AttributeInfo | 
forLocalItem(org.apache.ws.commons.schema.XmlSchemaObject sequenceObject,
            org.apache.ws.commons.schema.XmlSchema currentSchema,
            SchemaCollection schemaCollection,
            NamespacePrefixAccumulator prefixAccumulator,
            QName contextName)
Fill in an AttributeInfo for an attribute or anyAttribute from a sequence. 
 | 
org.apache.ws.commons.schema.XmlSchemaAnnotated | 
getAnnotated()
Return the object for the Attribute or the anyAttribute. 
 | 
org.apache.ws.commons.schema.XmlSchemaType | 
getContainingType()  | 
String | 
getDefaultValue()
* 
 | 
String | 
getFixedValue()  | 
String | 
getJavascriptName()  | 
org.apache.ws.commons.schema.XmlSchemaType | 
getType()  | 
String | 
getXmlName()  | 
boolean | 
isAny()  | 
boolean | 
isAnyType()  | 
boolean | 
isArray()  | 
boolean | 
isGlobal()
True if this describes a global, named, attribute. 
 | 
boolean | 
isNillable()  | 
boolean | 
isOptional()  | 
void | 
setContainingType(org.apache.ws.commons.schema.XmlSchemaType containingType)  | 
void | 
setDefaultValue(String value)  | 
void | 
setFixedValue(String fixedValue)  | 
void | 
setJavascriptName(String name)  | 
void | 
setType(org.apache.ws.commons.schema.XmlSchemaType type)  | 
void | 
setXmlName(String elementXmlName)  | 
public static AttributeInfo forGlobalAttribute(org.apache.ws.commons.schema.XmlSchemaAttribute attribute, org.apache.ws.commons.schema.XmlSchema currentSchema, SchemaCollection schemaCollection, NamespacePrefixAccumulator prefixAccumulator)
attribute - the elementcurrentSchema - the schema it came from.schemaCollection - the collection of all schemas.prefixAccumulator - the accumulator that assigns prefixes.public static AttributeInfo forLocalItem(org.apache.ws.commons.schema.XmlSchemaObject sequenceObject, org.apache.ws.commons.schema.XmlSchema currentSchema, SchemaCollection schemaCollection, NamespacePrefixAccumulator prefixAccumulator, QName contextName)
sequenceElement - currentSchema - schemaCollection - prefixAccumulator - public org.apache.ws.commons.schema.XmlSchemaAnnotated getAnnotated()
public String getJavascriptName()
getJavascriptName in interface ItemInfopublic void setJavascriptName(String name)
public String getXmlName()
public void setXmlName(String elementXmlName)
public org.apache.ws.commons.schema.XmlSchemaType getContainingType()
public void setContainingType(org.apache.ws.commons.schema.XmlSchemaType containingType)
public org.apache.ws.commons.schema.XmlSchemaType getType()
public void setType(org.apache.ws.commons.schema.XmlSchemaType type)
public boolean isAnyType()
public String getDefaultValue()
getDefaultValue in interface ItemInfopublic boolean isGlobal()
public String getFixedValue()
public void setFixedValue(String fixedValue)
public boolean isNillable()
isNillable in interface ItemInfopublic boolean isOptional()
isOptional in interface ItemInfopublic void setDefaultValue(String value)
setDefaultValue in interface ItemInfoApache CXF