|
ProgramixGenericLib v5.0.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NameDetail
Stores all of the detail about the name of a element or the name of
an attribute. The addition of "namespaces" to XML was very useful in
certain scenarios, but it sure complicates basic parsing. An instance of
[a class that implements] NameDetail holds all of the "local name"
"qualified name" and "namespace URI" information available. Very often,
only the plain old name is needed, and this is what getName()
returns.
| Method Summary | |
|---|---|
String |
getLocalName()
Returns the "local name" as reported by SAX parser. |
String |
getName()
Returns a simple name which is usually the "correct" tag or attribute name. |
NameDetail |
getParent()
Returns the NameDetail for the containing tag. |
String |
getQName()
Returns the "qualified name" as reported by SAX parser. |
String |
getURI()
Returns the "namespace URI" as reported by the SAX parser. |
| Method Detail |
|---|
String getName()
getLocalName() returns a string that
is not empty,
then this "local name" is used, otherwise the value returned from
getQName() is used.
String getLocalName()
String getQName()
String getURI()
NameDetail getParent()
|
ProgramixGenericLib v5.0.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||