1 package com.sun.tools.xjc.runtime; 2 3 import javax.xml.bind.JAXBException; 4 5 13 public interface GrammarInfo 14 { 15 29 UnmarshallingEventHandler createUnmarshaller( 30 String namespaceUri, String localName, UnmarshallingContext context ); 31 32 38 Class getRootElement(String namespaceUri, String localName); 39 40 46 String [] getProbePoints(); 47 48 59 boolean recognize( String nsUri, String localName ); 60 62 72 Class getDefaultImplementation( Class javaContentInterface ); 73 74 79 com.sun.msv.grammar.Grammar getGrammar() throws JAXBException; 80 82 83 XMLSerializable castToXMLSerializable( Object o ); 85 87 88 ValidatableObject castToValidatableObject(Object o); 90 } 92 | Popular Tags |