public class QNameContext extends Object
| Constructor and Description |
|---|
QNameContext(int namespaceUriID,
int localNameID,
QName qName) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
compareTo(String localName) |
boolean |
equals(Object o) |
String |
getDefaultPrefix() |
String |
getDefaultQNameAsString()
Returns the default qname as string with either the pre-populated
prefixes or ns<UriID>. e.g.
|
Attribute |
getGlobalAttribute() |
StartElement |
getGlobalStartElement() |
String |
getLocalName() |
int |
getLocalNameID() |
String |
getNamespaceUri() |
int |
getNamespaceUriID() |
QName |
getQName() |
SchemaInformedFirstStartTagGrammar |
getTypeGrammar() |
int |
hashCode() |
void |
setGlobalAttribute(Attribute grammarGlobalAttribute) |
void |
setGlobalStartElement(StartElement grammarGlobalElement) |
void |
setTypeGrammar(SchemaInformedFirstStartTagGrammar typeGrammar) |
String |
toString() |
public QNameContext(int namespaceUriID,
int localNameID,
QName qName)
public QName getQName()
public String getDefaultQNameAsString()
0, "" → ""
1, "http://www.w3.org/XML/1998/namespace"" → "xml"
2, "http://www.w3.org/2001/XMLSchema-instance" → "xsi"
3, "..." → ns3
4, "..." → ns4
public String getDefaultPrefix()
public int getLocalNameID()
public String getLocalName()
public void setGlobalStartElement(StartElement grammarGlobalElement)
public StartElement getGlobalStartElement()
public void setGlobalAttribute(Attribute grammarGlobalAttribute)
public Attribute getGlobalAttribute()
public void setTypeGrammar(SchemaInformedFirstStartTagGrammar typeGrammar)
public SchemaInformedFirstStartTagGrammar getTypeGrammar()
public int getNamespaceUriID()
public String getNamespaceUri()
protected int compareTo(String localName)
Copyright © 2018 Siemens AG. All rights reserved.