|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jsxe.dom.completion.CompletionInfo
Encapsulates information about an XML document structure obtained from a DTD or Schema document.
Field Summary | |
protected ArrayList |
elements
|
protected ArrayList |
elementsAllowedAnywhere
|
protected ArrayList |
entities
|
Constructor Summary | |
CompletionInfo()
|
|
CompletionInfo(ArrayList elements,
HashMap elementHash,
ArrayList entities,
HashMap entityHash,
ArrayList elementsAllowedAnywhere)
|
Method Summary | |
void |
addElement(ElementDecl element)
|
void |
addEntity(EntityDecl entity)
|
void |
addEntity(int type,
String name,
String value)
|
void |
addEntity(int type,
String name,
String publicId,
String systemId)
|
Object |
clone()
|
void |
getAllElements(String prefix,
List out)
|
static CompletionInfo |
getCompletionInfoForNamespace(String namespace)
|
static CompletionInfo |
getCompletionInfoFromResource(String resource)
|
ElementDecl |
getElement(String localName)
Gets the element declaration for the element with the given local name. |
List |
getEntities()
Gets the entities for this completion info |
EntityDecl |
getEntity(String name)
Gets an entity with the given Name |
Map |
getEntityHash()
Gets a map containing entity name to character and character to entity name mappings. |
String |
toString()
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected ArrayList elements
protected ArrayList entities
protected ArrayList elementsAllowedAnywhere
Constructor Detail |
public CompletionInfo()
public CompletionInfo(ArrayList elements, HashMap elementHash, ArrayList entities, HashMap entityHash, ArrayList elementsAllowedAnywhere)
Method Detail |
public void addEntity(int type, String name, String value)
public void addEntity(int type, String name, String publicId, String systemId)
public void addEntity(EntityDecl entity)
public EntityDecl getEntity(String name)
name
- the name of the entitypublic List getEntities()
public Map getEntityHash()
public void addElement(ElementDecl element)
public ElementDecl getElement(String localName)
public void getAllElements(String prefix, List out)
public String toString()
public static CompletionInfo getCompletionInfoForNamespace(String namespace)
public static CompletionInfo getCompletionInfoFromResource(String resource)
public final Object clone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |