public class TWSDLParserContextImpl extends Object implements TWSDLParserContext
Constructor and Description |
---|
TWSDLParserContextImpl(DOMForest forest,
AbstractDocument doc,
ArrayList<ParserListener> listeners,
ErrorReceiver errReceiver) |
Modifier and Type | Method and Description |
---|---|
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) |
public TWSDLParserContextImpl(DOMForest forest, AbstractDocument doc, ArrayList<ParserListener> listeners, ErrorReceiver errReceiver)
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 prefixpublic 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 WSDLregisterNamespaces
in interface TWSDLParserContext
e
- Element
whose namespace declarations need to be registeredpublic Locator getLocation(Element e)
TWSDLParserContext
getLocation
in interface TWSDLParserContext
public void pushWSDLLocation()
public void popWSDLLocation()
public void setWSDLLocation(String loc)
public String getWSDLLocation()
Copyright © 2018 Oracle Corporation. All rights reserved.