public class ElementDecl
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ElementDecl.AttributeDecl |
static class |
ElementDecl.Compare |
Modifier and Type | Field and Description |
---|---|
boolean |
any |
java.util.Map<java.lang.String,ElementDecl.AttributeDecl> |
attributeHash |
java.util.List<ElementDecl.AttributeDecl> |
attributes |
CompletionInfo |
completionInfo |
java.util.Set<java.lang.String> |
content |
java.util.Map<java.lang.String,ElementDecl> |
elementHash |
boolean |
empty |
java.lang.String |
name |
Constructor and Description |
---|
ElementDecl(CompletionInfo completionInfo,
java.lang.String name,
java.lang.String content) |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(ElementDecl.AttributeDecl attribute) |
java.util.List<ElementDecl> |
findReplacements()
Finds all elements which can be replaced by this one.
|
ElementDecl.AttributeDecl |
getAttribute(java.lang.String attrname) |
java.util.List<ElementDecl> |
getChildElements() |
java.lang.String |
getRequiredAttributesString(NamespaceBindings namespaces,
NamespaceBindings namespacesToInsert) |
boolean |
isAbstract() |
void |
setContent(java.lang.String content) |
java.lang.String |
toString() |
public CompletionInfo completionInfo
public java.lang.String name
public boolean empty
public boolean any
public java.util.List<ElementDecl.AttributeDecl> attributes
public java.util.Map<java.lang.String,ElementDecl.AttributeDecl> attributeHash
public java.util.Set<java.lang.String> content
public java.util.Map<java.lang.String,ElementDecl> elementHash
public ElementDecl(CompletionInfo completionInfo, java.lang.String name, java.lang.String content)
public boolean isAbstract()
public void setContent(java.lang.String content)
public java.util.List<ElementDecl> getChildElements()
public java.util.List<ElementDecl> findReplacements()
public ElementDecl.AttributeDecl getAttribute(java.lang.String attrname)
public void addAttribute(ElementDecl.AttributeDecl attribute)
public java.lang.String getRequiredAttributesString(NamespaceBindings namespaces, NamespaceBindings namespacesToInsert)
public java.lang.String toString()
toString
in class java.lang.Object