|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcytoscape.generated.impl.runtime.GrammarInfoImpl
public class GrammarInfoImpl
Keeps the information about the grammar as a whole. This object is immutable and thread-safe.
| Constructor Summary | |
|---|---|
GrammarInfoImpl(Map _rootTagMap,
Map _defaultImplementationMap,
Class _objectFactoryClass)
|
|
| Method Summary | |
|---|---|
ValidatableObject |
castToValidatableObject(Object o)
|
XMLSerializable |
castToXMLSerializable(Object o)
|
UnmarshallingEventHandler |
createUnmarshaller(String namespaceUri,
String localName,
UnmarshallingContext context)
Creates an unmarshaller that can unmarshal a given element. |
Class |
getDefaultImplementation(Class javaContentInterface)
Gets the default implementation for the given public content interface. |
com.sun.msv.grammar.Grammar |
getGrammar()
Gets the MSV AGM which can be used to validate XML during marshalling/unmarshalling. |
String[] |
getProbePoints()
Return the probe points for this GrammarInfo, which are used to detect {namespaceURI,localName} collisions across the GrammarInfo's on the schemaPath. |
Class |
getRootElement(String namespaceUri,
String localName)
Creates an instance for the root element. |
boolean |
recognize(String nsUri,
String localName)
Returns true if the invocation of the createUnmarshaller method will return a non-null value for the given name pair. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GrammarInfoImpl(Map _rootTagMap,
Map _defaultImplementationMap,
Class _objectFactoryClass)
| Method Detail |
|---|
public final Class getRootElement(String namespaceUri,
String localName)
GrammarInfo
getRootElement in interface GrammarInfo
public final UnmarshallingEventHandler createUnmarshaller(String namespaceUri,
String localName,
UnmarshallingContext context)
GrammarInfo
createUnmarshaller in interface GrammarInfonamespaceUri - The string needs to be interned by the caller
for a performance reason.localName - The string needs to be interned by the caller
for a performance reason.
public final String[] getProbePoints()
GrammarInfo
getProbePoints in interface GrammarInfo
public final boolean recognize(String nsUri,
String localName)
GrammarInfo
recognize in interface GrammarInfonsUri - The string needs to be interned by the caller
for a performance reason.localName - The string needs to be interned by the caller
for a performance reason.public final Class getDefaultImplementation(Class javaContentInterface)
GrammarInfo
getDefaultImplementation in interface GrammarInfojavaContentInterface - the Class object of the public interface.
public final com.sun.msv.grammar.Grammar getGrammar()
throws javax.xml.bind.JAXBException
getGrammar in interface GrammarInfojavax.xml.bind.JAXBExceptionpublic XMLSerializable castToXMLSerializable(Object o)
castToXMLSerializable in interface GrammarInfocom.sun.tools.xjc.runtime.GrammarInfo#castToXMLSerializable(java.lang.Object)public ValidatableObject castToValidatableObject(Object o)
castToValidatableObject in interface GrammarInfocom.sun.tools.xjc.runtime.GrammarInfo#castToValidatableObject(java.lang.Object)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||