1 8 package com.sun.japex.testsuite.impl.runtime; 9 10 import javax.xml.bind.ValidationEvent; 11 12 import org.xml.sax.SAXException ; 13 14 import com.sun.xml.bind.JAXBObject; 15 import com.sun.xml.bind.marshaller.IdentifiableObject; 16 import com.sun.xml.bind.serializer.AbortSerializationException; 17 18 57 public interface XMLSerializer 58 { 59 66 void reportError( ValidationEvent e ) throws AbortSerializationException; 67 68 73 void startElement( String uri, String local ) throws SAXException ; 74 75 79 void endNamespaceDecls() throws SAXException ; 80 81 85 void endAttributes() throws SAXException ; 86 87 91 void endElement() throws SAXException ; 92 93 94 132 void text( String text, String fieldName ) throws SAXException ; 133 134 135 149 void startAttribute( String uri, String local ) throws SAXException ; 150 151 void endAttribute() throws SAXException ; 152 153 157 NamespaceContext2 getNamespaceContext(); 158 159 160 176 String onID( IdentifiableObject owner, String value ) throws SAXException ; 177 178 189 String onIDREF( IdentifiableObject obj ) throws SAXException ; 190 191 192 194 195 196 199 209 void childAsBody( JAXBObject o, String fieldName ) throws SAXException ; 210 211 221 void childAsAttributes( JAXBObject o, String fieldName ) throws SAXException ; 222 223 232 void childAsURIs( JAXBObject o, String fieldName ) throws SAXException ; 233 } 234 | Popular Tags |