class XMLInterface.XMLOut
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
lang |
private java.io.PrintWriter |
out |
private TopicMap |
tm |
Constructor and Description |
---|
XMLOut(java.io.PrintWriter out,
TopicMap tm,
java.lang.String lang) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
attributeEscape(java.lang.String s) |
void |
close() |
void |
closeResponse() |
java.lang.String |
getTopicName(Topic topic) |
java.lang.String |
getTopicName(Topic topic,
java.lang.String lang) |
XMLInterface.TopicNameCleaner |
getTopicNameCleaner(Topic topic) |
java.lang.String |
getTopicTag(Topic topic) |
java.lang.String |
idEscape(java.lang.String s) |
void |
openResponse() |
int |
outputAssociationType(XMLInterface.AssociationInfo info,
XMLInterface.RequestProfile profile,
Topic context,
java.lang.String indent,
int level,
int start,
int limit) |
void |
outputOccurrenceType(XMLInterface.OccurrenceInfo info,
Topic context,
java.lang.String indent,
int level) |
void |
outputTopic(Topic topic,
XMLInterface.RequestProfile profile) |
void |
outputTopic(Topic topic,
XMLInterface.RequestProfile profile,
int level,
java.lang.String indent) |
void |
outputTopic(Topic topic,
XMLInterface.RequestProfile profile,
int level,
java.lang.String indent,
java.lang.String tag) |
void |
outputTopic(Topic topic,
XMLInterface.RequestProfile profile,
int level,
java.lang.String indent,
java.lang.String tag,
java.lang.String role) |
void |
outputTopic(Topic topic,
XMLInterface.RequestProfile profile,
int level,
java.lang.String indent,
java.lang.String tag,
java.lang.String role,
int start,
int limit) |
void |
outputTopicBaseName(java.lang.String topicID,
XMLInterface.RequestProfile profile) |
void |
outputTopicBaseName(java.lang.String topicID,
XMLInterface.RequestProfile profile,
int start,
int limit) |
void |
outputTopicSI(java.lang.String topicSI,
XMLInterface.RequestProfile profile) |
void |
outputTopicSI(java.lang.String topicSI,
XMLInterface.RequestProfile profile,
int start,
int limit) |
java.lang.String |
textEscape(java.lang.String s) |
private java.io.PrintWriter out
private TopicMap tm
private java.lang.String lang
public XMLOut(java.io.PrintWriter out, TopicMap tm, java.lang.String lang)
public void close() throws java.io.IOException
java.io.IOException
public void openResponse() throws java.io.IOException
java.io.IOException
public void closeResponse() throws java.io.IOException
java.io.IOException
public XMLInterface.TopicNameCleaner getTopicNameCleaner(Topic topic) throws TopicMapException
TopicMapException
public java.lang.String getTopicTag(Topic topic) throws TopicMapException
TopicMapException
public java.lang.String idEscape(java.lang.String s)
public java.lang.String attributeEscape(java.lang.String s)
public java.lang.String textEscape(java.lang.String s)
public java.lang.String getTopicName(Topic topic) throws TopicMapException
TopicMapException
public java.lang.String getTopicName(Topic topic, java.lang.String lang) throws TopicMapException
TopicMapException
public void outputTopicBaseName(java.lang.String topicID, XMLInterface.RequestProfile profile) throws java.io.IOException, TopicMapException
java.io.IOException
TopicMapException
public void outputTopicBaseName(java.lang.String topicID, XMLInterface.RequestProfile profile, int start, int limit) throws java.io.IOException, TopicMapException
java.io.IOException
TopicMapException
public void outputTopicSI(java.lang.String topicSI, XMLInterface.RequestProfile profile) throws java.io.IOException, TopicMapException
java.io.IOException
TopicMapException
public void outputTopicSI(java.lang.String topicSI, XMLInterface.RequestProfile profile, int start, int limit) throws java.io.IOException, TopicMapException
java.io.IOException
TopicMapException
public void outputTopic(Topic topic, XMLInterface.RequestProfile profile) throws java.io.IOException, TopicMapException
java.io.IOException
TopicMapException
public void outputTopic(Topic topic, XMLInterface.RequestProfile profile, int level, java.lang.String indent) throws java.io.IOException, TopicMapException
java.io.IOException
TopicMapException
public void outputTopic(Topic topic, XMLInterface.RequestProfile profile, int level, java.lang.String indent, java.lang.String tag) throws java.io.IOException, TopicMapException
java.io.IOException
TopicMapException
public void outputTopic(Topic topic, XMLInterface.RequestProfile profile, int level, java.lang.String indent, java.lang.String tag, java.lang.String role) throws java.io.IOException, TopicMapException
java.io.IOException
TopicMapException
public void outputTopic(Topic topic, XMLInterface.RequestProfile profile, int level, java.lang.String indent, java.lang.String tag, java.lang.String role, int start, int limit) throws java.io.IOException, TopicMapException
java.io.IOException
TopicMapException
public int outputAssociationType(XMLInterface.AssociationInfo info, XMLInterface.RequestProfile profile, Topic context, java.lang.String indent, int level, int start, int limit) throws java.io.IOException, TopicMapException
java.io.IOException
TopicMapException
public void outputOccurrenceType(XMLInterface.OccurrenceInfo info, Topic context, java.lang.String indent, int level) throws java.io.IOException, TopicMapException
java.io.IOException
TopicMapException
Copyright 2004-2015 Wandora Team