1 29 30 package com.caucho.xml.stream.events; 31 32 import javax.xml.stream.XMLStreamException; 33 import javax.xml.stream.events.NotationDeclaration; 34 import java.io.Writer ; 35 36 public class NotationDeclarationImpl extends XMLEventImpl 37 implements NotationDeclaration 38 { 39 private final String _name; 40 private final String _publicId; 41 private final String _systemId; 42 43 public NotationDeclarationImpl(String name, String publicId, String systemId) 44 { 45 _name = name; 46 _publicId = publicId; 47 _systemId = systemId; 48 } 49 50 public String getName() 51 { 52 return _name; 53 } 54 55 public String getPublicId() 56 { 57 return _publicId; 58 } 59 60 public String getSystemId() 61 { 62 return _systemId; 63 } 64 65 public int getEventType() 66 { 67 return NOTATION_DECLARATION; 68 } 69 70 public void writeAsEncodedUnicode(Writer writer) 71 throws XMLStreamException 72 { 73 } 75 } 76 77 | Popular Tags |