|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.tools.ws.wsdl.framework.TWSDLParserContextImpl
public class TWSDLParserContextImpl
The context used by parser classes.
Constructor Summary | |
---|---|
TWSDLParserContextImpl(DOMForest forest,
AbstractDocument doc,
ArrayList<ParserListener> listeners,
ErrorReceiver errReceiver)
|
Method Summary | |
---|---|
void |
fireDoneParsingEntity(QName element,
Entity entity)
|
void |
fireIgnoringExtension(Element e,
Entity entity)
|
String |
getDefaultNamespaceURI()
Gives default namespace |
AbstractDocument |
getDocument()
|
boolean |
getFollowImports()
|
Locator |
getLocation(Element e)
gives the location information for the given Element. |
String |
getNamespaceURI(String prefix)
Gives the namespace URI for a given prefix |
Iterable<String> |
getPrefixes()
Gives the prefixes in the current context |
String |
getWSDLLocation()
|
void |
pop()
pops the parsing context |
void |
popWSDLLocation()
|
void |
push()
Pushes the parsing context |
void |
pushWSDLLocation()
|
void |
registerNamespaces(Element e)
Registers naemespace declarations of a given Element found in the WSDL |
void |
setFollowImports(boolean b)
|
void |
setWSDLLocation(String loc)
|
QName |
translateQualifiedName(Locator locator,
String s)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TWSDLParserContextImpl(DOMForest forest, AbstractDocument doc, ArrayList<ParserListener> listeners, ErrorReceiver errReceiver)
Method Detail |
---|
public AbstractDocument getDocument()
public boolean getFollowImports()
public void setFollowImports(boolean b)
public void push()
TWSDLParserContext
push
in interface TWSDLParserContext
public void pop()
TWSDLParserContext
pop
in interface TWSDLParserContext
public String getNamespaceURI(String prefix)
TWSDLParserContext
getNamespaceURI
in interface TWSDLParserContext
prefix
- non-null prefix
public Iterable<String> getPrefixes()
TWSDLParserContext
getPrefixes
in interface TWSDLParserContext
public String getDefaultNamespaceURI()
TWSDLParserContext
getDefaultNamespaceURI
in interface TWSDLParserContext
public void registerNamespaces(Element e)
TWSDLParserContext
Element
found in the WSDL
registerNamespaces
in interface TWSDLParserContext
e
- Element
whose namespace declarations need to be registeredpublic Locator getLocation(Element e)
TWSDLParserContext
getLocation
in interface TWSDLParserContext
public QName translateQualifiedName(Locator locator, String s)
public void fireIgnoringExtension(Element e, Entity entity)
public void fireDoneParsingEntity(QName element, Entity entity)
public void pushWSDLLocation()
public void popWSDLLocation()
public void setWSDLLocation(String loc)
public String getWSDLLocation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |