|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.japisoft.xmlpad.bean.XMLTemplate
Template for XML. This is useful for the 'new' operation.
Constructor Summary | |
XMLTemplate()
|
Method Summary | |
int |
getCursorLocation()
Particular case when the template contains a 'cursor' param, this is used by the XMLContainer to force a cursor location |
boolean |
isValidating()
|
void |
setComment(java.lang.String comment)
Initial comment |
void |
setContent(java.lang.String content)
End of the template |
void |
setDtd(java.lang.String dtd)
|
void |
setEncoding(java.lang.String encoding)
|
void |
setRawContent(java.lang.String content)
Reset the template with only this content |
void |
setRootNode(java.lang.String root)
|
void |
setSchema(java.lang.String schema)
|
void |
setValidating(boolean validating)
Choose to validate this document |
void |
setVersion(int majorVersion,
int minorVersion)
XMLTemplate version |
java.lang.String |
toString()
|
java.lang.String |
toString(XMLDocumentInfo info)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public XMLTemplate()
Method Detail |
public void setVersion(int majorVersion, int minorVersion)
public void setEncoding(java.lang.String encoding)
public void setDtd(java.lang.String dtd)
public void setSchema(java.lang.String schema)
public void setRootNode(java.lang.String root)
public void setContent(java.lang.String content)
public void setComment(java.lang.String comment)
public void setValidating(boolean validating)
public boolean isValidating()
public void setRawContent(java.lang.String content)
public int getCursorLocation()
public java.lang.String toString(XMLDocumentInfo info)
info
- A Document info
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |