emptyserializer.java
来自「JAVA 所有包」· Java 代码 · 共 756 行 · 第 1/2 页
JAVA
756 行
} /** * @see org.xml.sax.ContentHandler#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes) */ public void startElement( String arg0, String arg1, String arg2, Attributes arg3) throws SAXException { couldThrowSAXException(); } /** * @see org.xml.sax.ContentHandler#endElement(java.lang.String, java.lang.String, java.lang.String) */ public void endElement(String arg0, String arg1, String arg2) throws SAXException { couldThrowSAXException(); } /** * @see org.xml.sax.ContentHandler#characters(char[], int, int) */ public void characters(char[] arg0, int arg1, int arg2) throws SAXException { couldThrowSAXException(arg0, arg1, arg2); } /** * @see org.xml.sax.ContentHandler#ignorableWhitespace(char[], int, int) */ public void ignorableWhitespace(char[] arg0, int arg1, int arg2) throws SAXException { couldThrowSAXException(); } /** * @see org.xml.sax.ContentHandler#processingInstruction(java.lang.String, java.lang.String) */ public void processingInstruction(String arg0, String arg1) throws SAXException { couldThrowSAXException(); } /** * @see org.xml.sax.ContentHandler#skippedEntity(java.lang.String) */ public void skippedEntity(String arg0) throws SAXException { couldThrowSAXException(); } /** * @see ExtendedLexicalHandler#comment(java.lang.String) */ public void comment(String comment) throws SAXException { couldThrowSAXException(); } /** * @see org.xml.sax.ext.LexicalHandler#startDTD(java.lang.String, java.lang.String, java.lang.String) */ public void startDTD(String arg0, String arg1, String arg2) throws SAXException { couldThrowSAXException(); } /** * @see org.xml.sax.ext.LexicalHandler#endDTD() */ public void endDTD() throws SAXException { couldThrowSAXException(); } /** * @see org.xml.sax.ext.LexicalHandler#startEntity(java.lang.String) */ public void startEntity(String arg0) throws SAXException { couldThrowSAXException(); } /** * @see org.xml.sax.ext.LexicalHandler#endEntity(java.lang.String) */ public void endEntity(String arg0) throws SAXException { couldThrowSAXException(); } /** * @see org.xml.sax.ext.LexicalHandler#startCDATA() */ public void startCDATA() throws SAXException { couldThrowSAXException(); } /** * @see org.xml.sax.ext.LexicalHandler#endCDATA() */ public void endCDATA() throws SAXException { couldThrowSAXException(); } /** * @see org.xml.sax.ext.LexicalHandler#comment(char[], int, int) */ public void comment(char[] arg0, int arg1, int arg2) throws SAXException { couldThrowSAXException(); } /** * @see XSLOutputAttributes#getDoctypePublic() */ public String getDoctypePublic() { aMethodIsCalled(); return null; } /** * @see XSLOutputAttributes#getDoctypeSystem() */ public String getDoctypeSystem() { aMethodIsCalled(); return null; } /** * @see XSLOutputAttributes#getEncoding() */ public String getEncoding() { aMethodIsCalled(); return null; } /** * @see XSLOutputAttributes#getIndent() */ public boolean getIndent() { aMethodIsCalled(); return false; } /** * @see XSLOutputAttributes#getIndentAmount() */ public int getIndentAmount() { aMethodIsCalled(); return 0; } /** * @see XSLOutputAttributes#getMediaType() */ public String getMediaType() { aMethodIsCalled(); return null; } /** * @see XSLOutputAttributes#getOmitXMLDeclaration() */ public boolean getOmitXMLDeclaration() { aMethodIsCalled(); return false; } /** * @see XSLOutputAttributes#getStandalone() */ public String getStandalone() { aMethodIsCalled(); return null; } /** * @see XSLOutputAttributes#getVersion() */ public String getVersion() { aMethodIsCalled(); return null; } /** * @see XSLOutputAttributes#setCdataSectionElements */ public void setCdataSectionElements(Hashtable h) throws Exception { couldThrowException(); } /** * @see XSLOutputAttributes#setDoctype(java.lang.String, java.lang.String) */ public void setDoctype(String system, String pub) { aMethodIsCalled(); } /** * @see XSLOutputAttributes#setDoctypePublic(java.lang.String) */ public void setDoctypePublic(String doctype) { aMethodIsCalled(); } /** * @see XSLOutputAttributes#setDoctypeSystem(java.lang.String) */ public void setDoctypeSystem(String doctype) { aMethodIsCalled(); } /** * @see XSLOutputAttributes#setEncoding(java.lang.String) */ public void setEncoding(String encoding) { aMethodIsCalled(); } /** * @see XSLOutputAttributes#setMediaType(java.lang.String) */ public void setMediaType(String mediatype) { aMethodIsCalled(); } /** * @see XSLOutputAttributes#setOmitXMLDeclaration(boolean) */ public void setOmitXMLDeclaration(boolean b) { aMethodIsCalled(); } /** * @see XSLOutputAttributes#setStandalone(java.lang.String) */ public void setStandalone(String standalone) { aMethodIsCalled(); } /** * @see org.xml.sax.ext.DeclHandler#elementDecl(java.lang.String, java.lang.String) */ public void elementDecl(String arg0, String arg1) throws SAXException { couldThrowSAXException(); } /** * @see org.xml.sax.ext.DeclHandler#attributeDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) */ public void attributeDecl( String arg0, String arg1, String arg2, String arg3, String arg4) throws SAXException { couldThrowSAXException(); } /** * @see org.xml.sax.ext.DeclHandler#internalEntityDecl(java.lang.String, java.lang.String) */ public void internalEntityDecl(String arg0, String arg1) throws SAXException { couldThrowSAXException(); } /** * @see org.xml.sax.ext.DeclHandler#externalEntityDecl(java.lang.String, java.lang.String, java.lang.String) */ public void externalEntityDecl(String arg0, String arg1, String arg2) throws SAXException { couldThrowSAXException(); } /** * @see org.xml.sax.ErrorHandler#warning(org.xml.sax.SAXParseException) */ public void warning(SAXParseException arg0) throws SAXException { couldThrowSAXException(); } /** * @see org.xml.sax.ErrorHandler#error(org.xml.sax.SAXParseException) */ public void error(SAXParseException arg0) throws SAXException { couldThrowSAXException(); } /** * @see org.xml.sax.ErrorHandler#fatalError(org.xml.sax.SAXParseException) */ public void fatalError(SAXParseException arg0) throws SAXException { couldThrowSAXException(); } /** * @see Serializer#asDOMSerializer() */ public DOMSerializer asDOMSerializer() throws IOException { couldThrowIOException(); return null; } /** * @see SerializationHandler#setNamespaceMappings(NamespaceMappings) */ public void setNamespaceMappings(NamespaceMappings mappings) { aMethodIsCalled(); } /** * @see ExtendedContentHandler#setSourceLocator(javax.xml.transform.SourceLocator) */ public void setSourceLocator(SourceLocator locator) { aMethodIsCalled(); } /** * @see ExtendedContentHandler#addUniqueAttribute(java.lang.String, java.lang.String, int) */ public void addUniqueAttribute(String name, String value, int flags) throws SAXException { couldThrowSAXException(); } /** * @see ExtendedContentHandler#characters(org.w3c.dom.Node) */ public void characters(Node node) throws SAXException { couldThrowSAXException(); } /** * @see ExtendedContentHandler#addXSLAttribute(java.lang.String, java.lang.String, java.lang.String) */ public void addXSLAttribute(String qName, String value, String uri) { aMethodIsCalled(); } /** * @see ExtendedContentHandler#addAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) */ public void addAttribute(String uri, String localName, String rawName, String type, String value) throws SAXException { couldThrowSAXException(); } /** * @see org.xml.sax.DTDHandler#notationDecl(java.lang.String, java.lang.String, java.lang.String) */ public void notationDecl(String arg0, String arg1, String arg2) throws SAXException { couldThrowSAXException(); } /** * @see org.xml.sax.DTDHandler#unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String) */ public void unparsedEntityDecl( String arg0, String arg1, String arg2, String arg3) throws SAXException { couldThrowSAXException(); } /** * @see SerializationHandler#setDTDEntityExpansion(boolean) */ public void setDTDEntityExpansion(boolean expand) { aMethodIsCalled(); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?