| com.mvnforum.jaxb.db.impl.runtime.GrammarInfo
All known Subclasses: com.mvnforum.jaxb.db.impl.runtime.GrammarInfoImpl, com.mvnforum.jaxb.db.impl.runtime.GrammarInfoFacade,
GrammarInfo | public interface GrammarInfo (Code) | | Keeps the information about the grammar as a whole.
Implementation of this interface is provided by the generated code.
author: Kohsuke KAWAGUCHI |
createUnmarshaller | UnmarshallingEventHandler createUnmarshaller(String namespaceUri, String localName, UnmarshallingContext context)(Code) | | Creates an unmarshaller that can unmarshal a given element.
Parameters: namespaceUri - The string needs to be interned by the callerfor a performance reason. Parameters: localName - The string needs to be interned by the callerfor a performance reason.null if the given name pair is not recognized. |
getDefaultImplementation | Class getDefaultImplementation(Class javaContentInterface)(Code) | | Gets the default implementation for the given public content
interface.
Parameters: javaContentInterface - the Class object of the public interface. nullIf the interface is not found. |
getGrammar | com.sun.msv.grammar.Grammar getGrammar() throws JAXBException(Code) | | Gets the MSV AGM which can be used to validate XML during
marshalling/unmarshalling.
|
getProbePoints | String[] getProbePoints()(Code) | | Return the probe points for this GrammarInfo, which are used to detect
{namespaceURI,localName} collisions across the GrammarInfo's on the
schemaPath. This is a slightly more complex implementation than a simple
hashmap, but it is more flexible in supporting additional schema langs.
|
getRootElement | Class getRootElement(String namespaceUri, String localName)(Code) | | Creates an instance for the root element.
null if the given name pair is not recognized. |
recognize | boolean recognize(String nsUri, String localName)(Code) | | Returns true if the invocation of the createUnmarshaller method
will return a non-null value for the given name pair.
Parameters: nsUri - The string needs to be interned by the callerfor a performance reason. Parameters: localName - The string needs to be interned by the callerfor a performance reason. |
|
|