org.modeldriven.fuml.xmi.stream
Class StreamContext
java.lang.Object
org.modeldriven.fuml.xmi.stream.StreamContext
public class StreamContext
- extends Object
Encapsulates context information for the current XMI stream, including
namespaces and other resources. Namespaces are loaded from the (XML) root
element based on a configurable set of supported namespaces for various
domains. If no namespace is found within the supported namespaces for a
particular domain, an error is thrown.
- Author:
- Scott Cinnamond
StreamContext
public StreamContext(XMLEvent root)
getXmiNamespace
public Namespace getXmiNamespace()
getUmlNamespace
public Namespace getUmlNamespace()
getDefaultNamespace
public Namespace getDefaultNamespace()
getEcoreNamespace
public Namespace getEcoreNamespace()
getMagicdrawNamespace
public Namespace getMagicdrawNamespace()
getNamespaceByLocalName
public Namespace getNamespaceByLocalName(String localName)
getNamespaceByURI
public Namespace getNamespaceByURI(String uri)
getNamespaces
public Namespace[] getNamespaces()
Copyright © 2012. All Rights Reserved.