1 29 30 package com.caucho.xml.stream.events; 31 32 import javax.xml.stream.XMLStreamException; 33 import javax.xml.stream.events.EntityDeclaration; 34 import java.io.Writer ; 35 36 public class EntityDeclarationImpl extends XMLEventImpl 37 implements EntityDeclaration 38 { 39 private final String _baseURI; 40 private final String _name; 41 private final String _notationName; 42 private final String _publicId; 43 private final String _replacementText; 44 private final String _systemId; 45 46 public EntityDeclarationImpl(String baseURI, String name, String notationName, 47 String publicId, String replacementText, 48 String systemId) 49 { 50 _baseURI = baseURI; 51 _name = name; 52 _notationName = notationName; 53 _publicId = publicId; 54 _replacementText = replacementText; 55 _systemId = systemId; 56 } 57 58 public String getBaseURI() 59 { 60 return _baseURI; 61 } 62 63 public String getName() 64 { 65 return _name; 66 } 67 68 public String getNotationName() 69 { 70 return _notationName; 71 } 72 73 public String getPublicId() 74 { 75 return _publicId; 76 } 77 78 public String getReplacementText() 79 { 80 return _replacementText; 81 } 82 83 public String getSystemId() 84 { 85 return _systemId; 86 } 87 88 public int getEventType() 89 { 90 return ENTITY_DECLARATION; 91 } 92 93 public void writeAsEncodedUnicode(Writer writer) 94 throws XMLStreamException 95 { 96 } 98 } 99 100 | Popular Tags |