1 8 package com.sun.japex.testsuite.impl.runtime; 9 10 import javax.xml.bind.JAXBException; 11 12 20 public interface GrammarInfo 21 { 22 35 UnmarshallingEventHandler createUnmarshaller( 36 String namespaceUri, String localName, UnmarshallingContext context ); 37 38 44 Class getRootElement(String namespaceUri, String localName); 45 46 52 String [] getProbePoints(); 53 54 65 boolean recognize( String nsUri, String localName ); 66 67 77 Class getDefaultImplementation( Class javaContentInterface ); 78 79 83 com.sun.msv.grammar.Grammar getGrammar() throws JAXBException; 84 85 86 XMLSerializable castToXMLSerializable( Object o ); 87 88 89 ValidatableObject castToValidatableObject(Object o); 90 } 91 | Popular Tags |