|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.framework.xml.schema.ElementReference
public class ElementReference
Represents an element reference. The reference may be resolved or not. If it is resolved, the
referenced ElementDeclaration
is accessible, otherwise only the name of the
element is available.
Constructor Summary | |
---|---|
ElementReference(QualifiedName elementName)
Creates an unresolved ElementReference . |
Method Summary | |
---|---|
ElementDeclaration |
getElementDeclaration()
|
QualifiedName |
getName()
|
boolean |
isResolved()
|
void |
resolve()
set this element as resolved. |
void |
resolve(ElementDeclaration declaration)
Flag this elementreference as resolved, with the given declaration set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ElementReference(QualifiedName elementName)
ElementReference
.
elementName
- Method Detail |
---|
public QualifiedName getName()
public boolean isResolved()
public ElementDeclaration getElementDeclaration()
public void resolve(ElementDeclaration declaration)
declaration
- to set the element to.
java.lang.RuntimeException
- if the element is resolved already.public void resolve()
java.lang.RuntimeException
- if the element is resolved already
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org