📄 xmlprocessor.ctxt
字号:
#BlueJ class context
comment0.target=class\ XMLProcessor
comment0.text=Handles\ XML\ processing\ allowing\ the\ reading\ and\ writing\ of\ XML\ files.\nUses\ the\ Document\ Object\ Model\ (DOM)\ to\ store\ the\ tree\ of\ nodes\nrepresented\ by\ the\ XML\ file.\n@author\ Jo\ Wood.\n@version\ V1.3\ 29th\ August,\ 2001.\n\n
comment1.target=indent
comment10.target=matches
comment11.params=text
comment11.target=String\ makeFriendly(String)
comment11.text=Converts\ a\ given\ string\ into\ XML-friendly\ code\ by\ replacing\ \nquotes,\ triangular\ brackets\ etc.\ with\ their\ symbolic\ equivalent.\n@param\ text\ Text\ to\ process.\n@return\ Processed\ text\ with\ XML\ friendly\ symbols.\n\n
comment12.params=node
comment12.target=void\ outputNodeAsXML(Node)
comment12.text=Converts\ the\ given\ DOM\ node\ into\ XML.\ Recursively\ converts\nany\ child\ nodes.\n@param\ node\ DOM\ Node\ to\ display.\n\n
comment13.params=element
comment13.target=String[]\ search(String)
comment13.text=Searches\ for\ a\ given\ element\ and\ returns\ all\ text\ nodes\ \nassociated\ with\ it.\n@param\ element\ Element\ to\ search\ for.\n@return\ Array\ of\ strings\ associated\ with\ all\ occurrences\ \nof\ the\ given\ element.\n\n
comment14.params=node\ element
comment14.target=void\ search(Node,String)
comment14.text=Searches\ for\ a\ given\ element\ and\ updates\ list\ of\ matching\ text.\n@param\ node\ Node\ to\ start\ search\ from.\n@param\ element\ Element\ to\ search\ for.\n\n
comment2.params=
comment2.target=void\ indent()
comment2.text=Indents\ output\ to\ current\ tree\ depth.\n\n
comment3.params=fileName
comment3.target=boolean\ readXML(String)
comment3.text=Reads\ the\ given\ XML\ file\ and\ converts\ it\ into\ a\ DOM.\n@param\ fileName\ Name\ of\ XML\ file\ to\ convert.\n@return\ True\ if\ converted\ successfully.\n\n
comment4.target=dom
comment5.params=
comment5.target=boolean\ writeXML()
comment5.text=Displays\ the\ DOM\ stored\ within\ this\ class\ as\ an\ XML\ file\ \non\ standard\ output.\n\n
comment6.params=fileName
comment6.target=boolean\ writeXML(String)
comment6.text=Converts\ the\ DOM\ stored\ within\ this\ class\ into\ an\ XML\ file.\n@param\ fileName\ Name\ of\ file\ to\ contain\ the\ XML.\n@return\ true\ if\ successful\ XML\ generation.\n\n
comment7.params=dom
comment7.target=XMLProcessor(Document)
comment7.text=Creates\ an\ XML\ processor\ using\ the\ given\ DOM.\n@param\ DOM\ to\ use\ in\ processor.\n\n
comment8.params=fileName
comment8.target=XMLProcessor(String)
comment8.text=Reads\ the\ given\ XML\ file\ and\ constructs\ a\ DOM\ from\ it.\n@param\ fileName\ Name\ of\ XML\ file\ to\ read.\n\n
comment9.target=out
numComments=15
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -