public class XSDAttribute extends AbstractXSDObject
qname
Constructor and Description |
---|
XSDAttribute(QName qname) |
Modifier and Type | Method and Description |
---|---|
short |
getBaseType() |
String |
getDefaultValue() |
XSDSimpleType |
getType() |
boolean |
hasDefaultValue() |
boolean |
isValid(String attrvalue) |
void |
setBaseType(short baseType) |
void |
setDefaultValue(String defaultValue) |
void |
setType(XSDSimpleType type) |
getName, getQName, toString
public XSDAttribute(QName qname)
public void setType(XSDSimpleType type)
public XSDSimpleType getType()
public void setBaseType(short baseType)
public short getBaseType()
public void setDefaultValue(String defaultValue)
public boolean hasDefaultValue()
public String getDefaultValue()
public boolean isValid(String attrvalue)