|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class is the global context used by all Bridge instances.
Method Summary | |
void |
bind(Element element,
GraphicsNode node)
Binds a GraphicsNode and an Element. |
void |
bind(Element element,
StyleReference reference)
Binds a style element to a style reference. |
Bridge |
getBridge(Element element)
Returns the bridge associated with the specified element. |
Viewport |
getCurrentViewport()
Returns the current viewport to use to compute percentages and units. |
DocumentLoader |
getDocumentLoader()
Returns the document loader to use to load a document. |
Element |
getElement(GraphicsNode node)
Returns the Element bound to the specified GraphicsNode if any. |
GraphicsNode |
getGraphicsNode(Element element)
Returns the GraphicsNode bound to the specified Element if any. |
GraphicsNodeRableFactory |
getGraphicsNodeRableFactory()
Returns a GraphicsNodeRable factory |
GVTBuilder |
getGVTBuilder()
Returns the GVT builder that is currently used to build the GVT tree. |
GVTFactory |
getGVTFactory()
Returns the GVT Factory that can be used to create GraphicsNode objects. |
InterpreterPool |
getInterpreterPool()
Returns the interpreter pool that can be used for scripting. |
ParserFactory |
getParserFactory()
Returns the Parser factory that can be used to parse the attributes of an Element. |
java.util.List |
getStyleReferenceList(Element element)
Returns an enumeration of all style refence for the specified style element. |
UserAgent |
getUserAgent()
Returns the UserAgent than can used by the bridge. |
ViewCSS |
getViewCSS()
Returns the view CSS |
void |
putBridge(java.lang.String namespaceURI,
java.lang.String localName,
Bridge bridge)
Associates the specified Bridge object with the specified namespace URI nad local name. |
void |
removeBridge(java.lang.String namespaceURI,
java.lang.String localName)
Removes the Bridge object associated to the specified namespace URI and local name. |
void |
setCurrentViewport(Viewport newViewport)
Sets the current viewport to use to compute percentages and units to the specified SVG element. |
void |
setDocumentLoader(DocumentLoader newDocumentLoader)
Sets the document loader to use to load a document. |
void |
setGraphicsNodeRableFactory(GraphicsNodeRableFactory f)
Sets the GraphicsNodeRableFactory to use. |
void |
setGVTBuilder(GVTBuilder gvtBuilder)
Sets the GVT builder used to build the GVT tree. |
void |
setGVTFactory(GVTFactory gvtFactory)
Sets the GVT factory to use to create GraphicsNode |
void |
setParserFactory(ParserFactory parserFactory)
Sets the Parser factory to use to parse XML attributes. |
void |
setUserAgent(UserAgent ua)
Sets the User agent. |
void |
setViewCSS(ViewCSS viewCSS)
Sets the view CSS. |
void |
unbind(Element element)
UnBinds an Element and its graphics Node. |
Method Detail |
public InterpreterPool getInterpreterPool()
public DocumentLoader getDocumentLoader()
public Viewport getCurrentViewport()
public void setCurrentViewport(Viewport newViewport)
newViewport
- the new viewportpublic void setDocumentLoader(DocumentLoader newDocumentLoader)
newDocumentLoader
- the new document loaderpublic UserAgent getUserAgent()
UserAgent
than can used by the bridge.public GVTBuilder getGVTBuilder()
public void setGVTBuilder(GVTBuilder gvtBuilder)
public void setUserAgent(UserAgent ua)
public void bind(Element element, GraphicsNode node)
public void unbind(Element element)
public GraphicsNode getGraphicsNode(Element element)
public ViewCSS getViewCSS()
public void setViewCSS(ViewCSS viewCSS)
public Element getElement(GraphicsNode node)
public void bind(Element element, StyleReference reference)
public java.util.List getStyleReferenceList(Element element)
public Bridge getBridge(Element element)
public void putBridge(java.lang.String namespaceURI, java.lang.String localName, Bridge bridge)
namespaceURI
- the namespace URIlocalName
- the local namebridge
- the bridge objectpublic void removeBridge(java.lang.String namespaceURI, java.lang.String localName)
namespaceURI
- the namespace URIlocalName
- the local namepublic GVTFactory getGVTFactory()
public void setGVTFactory(GVTFactory gvtFactory)
gvtFactory
- the new gvt factory to usepublic ParserFactory getParserFactory()
public void setParserFactory(ParserFactory parserFactory)
parserFactory
- the new parser factory to usepublic GraphicsNodeRableFactory getGraphicsNodeRableFactory()
public void setGraphicsNodeRableFactory(GraphicsNodeRableFactory f)
f
- the new GraphicsNodeRableFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |