Package com.sun.tools.ws.wsdl.framework
Class TWSDLParserContextImpl
java.lang.Object
com.sun.tools.ws.wsdl.framework.TWSDLParserContextImpl
- All Implemented Interfaces:
TWSDLParserContext
The context used by parser classes.
- Author:
- WS Development Team
-
Constructor Summary
ConstructorsConstructorDescriptionTWSDLParserContextImpl(DOMForest forest, AbstractDocument doc, ArrayList<ParserListener> listeners, ErrorReceiver errReceiver) -
Method Summary
Modifier and TypeMethodDescriptionvoidfireDoneParsingEntity(QName element, Entity entity) voidfireIgnoringExtension(Element e, Entity entity) Gives default namespacebooleangives the location information for the given Element.getNamespaceURI(String prefix) Gives the namespace URI for a given prefixGives the prefixes in the current contextvoidpop()pops the parsing contextvoidvoidpush()Pushes the parsing contextvoidvoidRegisters naemespace declarations of a givenElementfound in the WSDLvoidsetFollowImports(boolean b) voidsetWSDLLocation(String loc) translateQualifiedName(Locator locator, String s)
-
Constructor Details
-
TWSDLParserContextImpl
public TWSDLParserContextImpl(DOMForest forest, AbstractDocument doc, ArrayList<ParserListener> listeners, ErrorReceiver errReceiver)
-
-
Method Details
-
getDocument
-
getFollowImports
public boolean getFollowImports() -
setFollowImports
public void setFollowImports(boolean b) -
push
public void push()Description copied from interface:TWSDLParserContextPushes the parsing context- Specified by:
pushin interfaceTWSDLParserContext
-
pop
public void pop()Description copied from interface:TWSDLParserContextpops the parsing context- Specified by:
popin interfaceTWSDLParserContext
-
getNamespaceURI
Description copied from interface:TWSDLParserContextGives the namespace URI for a given prefix- Specified by:
getNamespaceURIin interfaceTWSDLParserContext- Parameters:
prefix- non-null prefix- Returns:
- null of the prefix is not found
-
getPrefixes
Description copied from interface:TWSDLParserContextGives the prefixes in the current context- Specified by:
getPrefixesin interfaceTWSDLParserContext
-
getDefaultNamespaceURI
Description copied from interface:TWSDLParserContextGives default namespace- Specified by:
getDefaultNamespaceURIin interfaceTWSDLParserContext- Returns:
- null if there is no default namespace declaration found
-
registerNamespaces
Description copied from interface:TWSDLParserContextRegisters naemespace declarations of a givenElementfound in the WSDL- Specified by:
registerNamespacesin interfaceTWSDLParserContext- Parameters:
e-Elementwhose namespace declarations need to be registered
-
getLocation
Description copied from interface:TWSDLParserContextgives the location information for the given Element.- Specified by:
getLocationin interfaceTWSDLParserContext
-
translateQualifiedName
-
fireIgnoringExtension
-
fireDoneParsingEntity
-
pushWSDLLocation
public void pushWSDLLocation() -
popWSDLLocation
public void popWSDLLocation() -
setWSDLLocation
-
getWSDLLocation
-