|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.commons.schema.walker.XmlSchemaAttrInfo
public class XmlSchemaAttrInfo
This represents a complete XML Schema Attribute, after references are followed and types are defined.
| Constructor Summary | |
|---|---|
XmlSchemaAttrInfo(XmlSchemaAttribute attribute,
XmlSchemaTypeInfo attrType)
Constructs a new XmlSchemaAttrInfo from the provided
XmlSchemaAttribute and XmlSchemaTypeInfo. |
|
| Method Summary | |
|---|---|
XmlSchemaAttribute |
getAttribute()
The underlying XmlSchemaAttribute. |
XmlSchemaTypeInfo |
getType()
The attribute's value type. |
boolean |
isTopLevel()
Whether the attribute exists in the global namespace. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlSchemaAttrInfo(XmlSchemaAttribute attribute,
XmlSchemaTypeInfo attrType)
XmlSchemaAttrInfo from the provided
XmlSchemaAttribute and XmlSchemaTypeInfo.
The XmlSchemaAttribute represents the XML attribute
definition after any references have been resolved, and merged with the
global definition.
attribute - The underlying XmlSchemaAttribute.attrType - The attribute's type.| Method Detail |
|---|
public XmlSchemaAttribute getAttribute()
XmlSchemaAttribute. If the attribute was
originally a reference, this instance is merged with the global attribute
it referenced.
The only exception is with XmlSchemaAttribute.isTopLevel(). A
copy of the XmlSchemaAttribute may have been made in order
to properly merge a local reference with a global definition. When that
happens, XmlSchemaAttribute.isTopLevel() may not return the
correct result. Use isTopLevel() instead.
public XmlSchemaTypeInfo getType()
public boolean isTopLevel()
XmlSchemaAttribute may have been made in order to merge a local
reference with the global definition,
XmlSchemaAttribute.isTopLevel() may no longer be accurate.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||