|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.webdocwf.util.loader.OctopusXMLUtil
public class OctopusXMLUtil
Class has utility methods.
Constructor Summary | |
---|---|
OctopusXMLUtil()
|
Method Summary | |
---|---|
static java.util.Vector |
getAttributeValues(org.w3c.dom.NodeList tags,
java.lang.String attrName,
java.lang.String defaultValue)
Gets attribute values from specified tags. |
static org.w3c.dom.Element |
getDocumentFragment(org.w3c.dom.Document doc,
java.lang.String tagName,
int iCurrent,
int iImportJobItem)
|
static java.lang.String |
importAttribute(org.w3c.dom.Document doc,
java.lang.String strTagName,
java.lang.String strAttrName,
int iImportJobItem)
Method importAttribute reads value for strAttrName attribute in strTagName tag. |
static java.lang.String |
importAttributeValue(org.w3c.dom.Document doc,
java.lang.String strTagName,
java.lang.String strAttrName,
int iImportJobItem)
Method importAttributeValue reads value for strAttrName attribute in strTagName tag. |
static java.util.Vector |
importValue(org.w3c.dom.Document doc,
java.lang.String tagName,
java.lang.String strAttrName,
int iImportJobItem)
Method importValue reads values from desired XML tag and puts them into Vector. |
static java.util.Vector |
importValue(org.w3c.dom.Document doc,
java.lang.String tagName,
java.lang.String strAttrName,
int iImportJobItem,
java.lang.String defaultValue)
Method importValue reads values from desired XML tag and puts them into Vector. |
static java.util.Vector |
importValueForTransform(org.w3c.dom.Element docFragment,
java.lang.String tagName,
java.lang.String strAttrName)
Method importValue reads values from desired XML tag and puts them into Vector. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OctopusXMLUtil()
Method Detail |
---|
public static java.util.Vector getAttributeValues(org.w3c.dom.NodeList tags, java.lang.String attrName, java.lang.String defaultValue)
tags
- NodeList of tags to check for attributeattrName
- name of attributedefaultValue
- defaultValue if attribute is not defined
public static java.lang.String importAttributeValue(org.w3c.dom.Document doc, java.lang.String strTagName, java.lang.String strAttrName, int iImportJobItem)
doc
- Parsed import XML file.strTagName
- The name of tag where attribute is situated.strAttrName
- The name of tag attribute which reads input value.iImportJobItem
- Number of ImportDefinition tag which is processed.
public static java.lang.String importAttribute(org.w3c.dom.Document doc, java.lang.String strTagName, java.lang.String strAttrName, int iImportJobItem)
doc
- Parsed import XML file.strTagName
- The name of tag where attribute is situated.strAttrName
- The name of tag attribute which reads input value.iImportJobItem
- Number of ImportDefinition tag which is processed.
public static java.util.Vector importValue(org.w3c.dom.Document doc, java.lang.String tagName, java.lang.String strAttrName, int iImportJobItem)
doc
- Parsed import XML file.tagName
- The name of XML tag.strAttrName
- The name of tag attribute which reads input strValue.iImportJobItem
- Number of ImportDefinition tag which is processed.
public static java.util.Vector importValueForTransform(org.w3c.dom.Element docFragment, java.lang.String tagName, java.lang.String strAttrName)
docFragment
- Parsed import XML file.tagName
- The name of XML tag.strAttrName
- The name of tag attribute which reads input strValue.
public static java.util.Vector importValue(org.w3c.dom.Document doc, java.lang.String tagName, java.lang.String strAttrName, int iImportJobItem, java.lang.String defaultValue)
doc
- Parsed import XML file.tagName
- The name of XML tag.strAttrName
- The name of tag attribute which reads input strValue.iImportJobItem
- Number of ImportDefinition tag which is processed.defaultValue
- The default value of strattrname attribute.
public static org.w3c.dom.Element getDocumentFragment(org.w3c.dom.Document doc, java.lang.String tagName, int iCurrent, int iImportJobItem)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |