| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.jour.rt.view.config.impl.runtime.GrammarInfoFacade
This class is a facade to a collection of GrammarInfo objects. It dispatches rootElement requests to the underlying GrammarInfo objects.
| Constructor Summary | |
GrammarInfoFacade(GrammarInfo[] items)
 | 
|
| Method Summary | |
 ValidatableObject | 
castToValidatableObject(java.lang.Object o)
 | 
 XMLSerializable | 
castToXMLSerializable(java.lang.Object o)
 | 
(package private) static GrammarInfo | 
createGrammarInfoFacade(java.lang.String contextPath,
                        java.lang.ClassLoader classLoader)
 | 
 UnmarshallingEventHandler | 
createUnmarshaller(java.lang.String namespaceUri,
                   java.lang.String localName,
                   UnmarshallingContext context)
Creates an unmarshaller that can unmarshal a given element.  | 
 java.lang.Class | 
getDefaultImplementation(java.lang.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.  | 
 java.lang.String[] | 
getProbePoints()
Return the probe points for this GrammarInfo, which are used to detect {namespaceURI,localName} collisions across the GrammarInfo's on the schemaPath.  | 
 java.lang.Class | 
getRootElement(java.lang.String namespaceUri,
               java.lang.String localName)
Creates an instance for the root element.  | 
 boolean | 
recognize(java.lang.String nsUri,
          java.lang.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 GrammarInfoFacade(GrammarInfo[] items)
                  throws javax.xml.bind.JAXBException
| Method Detail | 
public UnmarshallingEventHandler createUnmarshaller(java.lang.String namespaceUri,
                                                    java.lang.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 java.lang.Class getRootElement(java.lang.String namespaceUri,
                                      java.lang.String localName)
GrammarInfo
getRootElement in interface GrammarInfo
public boolean recognize(java.lang.String nsUri,
                         java.lang.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 java.lang.String[] getProbePoints()
GrammarInfo
getProbePoints in interface GrammarInfo
static GrammarInfo createGrammarInfoFacade(java.lang.String contextPath,
                                           java.lang.ClassLoader classLoader)
                                    throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic java.lang.Class getDefaultImplementation(java.lang.Class javaContentInterface)
GrammarInfo
getDefaultImplementation in interface GrammarInfojavaContentInterface - the Class object of the public interface.
public com.sun.msv.grammar.Grammar getGrammar()
                                       throws javax.xml.bind.JAXBException
GrammarInfo
getGrammar in interface GrammarInfojavax.xml.bind.JAXBExceptionpublic XMLSerializable castToXMLSerializable(java.lang.Object o)
castToXMLSerializable in interface GrammarInfocom.sun.tools.xjc.runtime.GrammarInfo#castToXMLSerializable(java.lang.Object)public ValidatableObject castToValidatableObject(java.lang.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 | ||||||||||