public interface XmlElementDescriptor extends PsiMetaData
Modifier and Type | Field and Description |
---|---|
static int |
CONTENT_TYPE_ANY |
static int |
CONTENT_TYPE_CHILDREN |
static int |
CONTENT_TYPE_EMPTY |
static int |
CONTENT_TYPE_MIXED |
static int |
CONTENT_TYPE_UNKNOWN |
static XmlElementDescriptor[] |
EMPTY_ARRAY |
Modifier and Type | Method and Description |
---|---|
XmlAttributeDescriptor |
getAttributeDescriptor(java.lang.String attributeName,
XmlTag context) |
XmlAttributeDescriptor |
getAttributeDescriptor(XmlAttribute attribute) |
XmlAttributeDescriptor[] |
getAttributesDescriptors(XmlTag context) |
int |
getContentType() |
java.lang.String |
getDefaultName()
Should return either simple or qualified name depending on the schema/DTD properties.
|
java.lang.String |
getDefaultValue() |
XmlElementDescriptor |
getElementDescriptor(XmlTag childTag,
XmlTag contextTag) |
XmlElementDescriptor[] |
getElementsDescriptors(XmlTag context)
Returns an array of child tag descriptors.
|
XmlNSDescriptor |
getNSDescriptor() |
java.lang.String |
getQualifiedName() |
XmlElementsGroup |
getTopGroup() |
getDeclaration, getDependences, getDependencies, getName, getName, init
static final XmlElementDescriptor[] EMPTY_ARRAY
static final int CONTENT_TYPE_UNKNOWN
static final int CONTENT_TYPE_EMPTY
static final int CONTENT_TYPE_ANY
static final int CONTENT_TYPE_CHILDREN
static final int CONTENT_TYPE_MIXED
java.lang.String getQualifiedName()
java.lang.String getDefaultName()
XmlElementDescriptor[] getElementsDescriptors(XmlTag context)
context
- the parent tag.XmlElementDescriptor getElementDescriptor(XmlTag childTag, XmlTag contextTag)
XmlAttributeDescriptor[] getAttributesDescriptors(XmlTag context)
XmlAttributeDescriptor getAttributeDescriptor(java.lang.String attributeName, XmlTag context)
XmlAttributeDescriptor getAttributeDescriptor(XmlAttribute attribute)
XmlNSDescriptor getNSDescriptor()
XmlElementsGroup getTopGroup()
int getContentType()
java.lang.String getDefaultValue()