Searched defs:document (Results 1 - 23 of 23) sorted by relevance

/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/utils/xml/
H A DXmlArray.java70 Node createNode(Document document) { argument
71 Node listNode = document.createElement("list");
74 listNode.appendChild(element.createNode(document));
H A DXmlMap.java83 Node createNode(Document document) { argument
84 Node mapNode = document.createElement("map");
90 Node entryNode = document.createElement("entry");
95 entryNode.appendChild(((XmlObject)value).createNode(document));
H A DXmlObject.java114 Node createNode(Document document) { argument
115 Node node = document.createElement(getName());
127 Node entryNode = document.createElement("entry");
129 entryNode.appendChild(obj.createNode(document));
144 Document document = getDocument();
145 document.appendChild(createNode(document));
147 Source source = new DOMSource(document);
193 // Node createNode(Document document) {
194 // Node numberNode = document
[all...]
/glassfish-3.1.2/extras/grizzly-container/src/main/java/org/glassfish/extras/grizzly/
H A DGrizzlyModuleDescriptor.java83 private void parse(Document document) { argument
84 Element element = document.getDocumentElement();
/glassfish-3.1.2/admin/config-api/src/main/java/org/glassfish/config/support/
H A DGlassFishConfigBean.java85 public GlassFishConfigBean(Habitat habitat, DomDocument document, GlassFishConfigBean parent, ConfigModel model, XMLStreamReader in) { argument
86 super(habitat, document, parent, model, in);
H A DGenericCrudCommand.java423 * @param document the dom document this configuration element lives in.
429 public static String elementName(DomDocument document, Class<?> parent, Class<?> child) argument
432 ConfigModel cm = document.buildModel(parent);
442 List<ConfigModel> subChildrenModels = document.getAllModelsImplementing(
/glassfish-3.1.2/admin/config-api/src/test/java/com/sun/enterprise/configapi/tests/
H A DDeepCopyTest.java105 String resultingXML = save(document).toString();
171 final DomDocument document = getDocument(getHabitat()); field in class:DeepCopyTest
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/generator/
H A DResourcesGenerator.java54 void generateSingle(ConfigModel rootModel, DomDocument document); argument
/glassfish-3.1.2/jbi/serviceengine/sun-javaee-engine/src/main/java/com/sun/enterprise/jbi/serviceengine/bridge/
H A DJBIAdapterBuilder.java153 * Create a Dom document from the output stream provided by the given
156 private Document getWSDLDocument(SDDocument document) throws Exception { argument
159 document.writeTo(null, getResolver(), baos);
168 return db.parse(in, document.getURL().toString());
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/dd/
H A DParseDD.java125 Document document = null;
140 document = builder.parse(source);
143 nodeList = document.getElementsByTagName("license-required");
167 nodeList = document.getElementsByTagName("reauthentication-support");
191 nodeList = document.getElementsByTagName("transaction-support");
257 Document document = null;
272 document = builder.parse(source);
275 nodeList = document.getElementsByTagName("ejb-ref-type");
299 nodeList = document.getElementsByTagName("res-auth");
323 nodeList = document
946 checkInterfacePairs(Document document, String intf1, String intf2) argument
[all...]
/glassfish-3.1.2/webservices/connector/src/main/java/org/glassfish/webservices/connector/annotation/handlers/
H A DHandlerChainHandler.java258 Document document;
266 document = builder.parse(handlerFileStream);
282 processHandlerFile(document, container);
360 private void processHandlerFile(Document document, HandlerChainContainer ep) argument
363 NodeList handlerChainList = document.getElementsByTagNameNS("http://java.sun.com/xml/ns/javaee",
371 handlerChainList = document.getElementsByTagName(WebServicesTagNames.HANDLER_CHAIN);
/glassfish-3.1.2/common/common-util/src/main/java/org/glassfish/common/util/admin/
H A DGenericCommandModel.java78 * @param document the DomDocument for the command
88 DomDocument document,
99 ConfigModel cm = document.buildModel(targetType);
83 GenericCommandModel(Class<?> targetType, boolean useAnnotations, ExecuteOn cluster, I18n i18n, LocalStringManager localStrings, DomDocument document, String commandName, Class<?>... extraTypes) argument
/glassfish-3.1.2/jbi/serviceengine/sun-javaee-engine/src/main/java/com/sun/enterprise/jbi/serviceengine/util/soap/
H A DMessageNormalizerImpl.java352 private org.w3c.dom.Node createDOMNodeFromSOAPNode(javax.xml.soap.Node soapNode, Document document) argument
366 result = document.createElementNS(name.getURI(), name.getQualifiedName());
368 result = document.createElement(name.getLocalName());
384 attribute = document.createAttribute(attrName.getQualifiedName());
386 attribute = document.createAttributeNS(attrName.getURI(),attrName.getQualifiedName());
399 appendSOAPNodeToDOMNode(document, result, childSOAPNode);
409 result = document.createComment(textValue);
411 result = document.createTextNode(textValue);
426 private void appendSOAPNodeToDOMNode(Document document, org.w3c.dom.Node domNode,javax.xml.soap.Node soapNode) argument
429 org.w3c.dom.Node newDOMNode = createDOMNodeFromSOAPNode(soapNode, document);
[all...]
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/
H A DReportHandler.java109 private Document document; field in class:ReportHandler
178 * This api initializes the document object and calls generate apis to add results
179 * to the document. Finally failureCount() api is called to add the error, failure
180 * and warning counts to the document.
220 document = builder.newDocument();
221 rootNode = document.createElement(STATIC_VER);
222 document.appendChild(rootNode);
226 * This api adds each result to the document tree based on the status.
250 * This api is used to add the error logs into the document.
256 //start adding nodes to document
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/tomcat/util/modeler/modules/
H A DMbeansSource.java106 private Document document; field in class:MbeansSource
187 document = DomUtil.readXml(stream);
190 Node descriptorsN=document.getDocumentElement();
358 DomUtil.writeXml(document, fos);
/glassfish-3.1.2/admin/monitor/src/main/java/com/sun/enterprise/admin/monitor/stats/lb/
H A DLoadBalancerStats.java204 public static LoadBalancerStats read(org.w3c.dom.Document document) { argument
206 aLoadBalancerStats.readNode(document.getDocumentElement());
375 Purpose of the document follows.
/glassfish-3.1.2/registration/registration-impl/src/main/java/com/sun/enterprise/registration/impl/
H A DRepositoryManager.java83 * value of the document. If the file does not exist, the manager creates a
84 * new in-memory document containing the top-level registry element and the
120 NodeList nodes = document.getElementsByTagName(ServiceTag.SERVICE_TAG);
137 NodeList nodes = document.getElementsByTagName(ServiceTag.SERVICE_TAG);
157 NodeList nodes = document.getElementsByTagName(ServiceTag.SERVICE_TAG);
201 * Create a new Element in the active document using the specified
204 st = serviceTag.getElement(document);
280 NodeList nodes = document.getElementsByTagName(ServiceTag.SERVICE_TAG);
292 NodeList nodes = document.getElementsByTagName(ServiceTag.SERVICE_TAG);
314 NodeList nodes = document
566 private Document document = null; field in class:RepositoryManager
[all...]
/glassfish-3.1.2/webservices/jsr109-impl/src/main/java/org/glassfish/webservices/
H A DWebServicesDeployer.java289 * document.
458 * Collect all relative imports from a web service's main wsdl document.
485 Document document = builder.parse(is);
486 procesSchemaImports(document, schemaRelativeImports);
487 procesWsdlImports(document, wsdlRelativeImports);
488 procesSchemaIncludes(document, schemaIncludes);
489 procesWsdlIncludes(document, wsdlIncludes);
513 private void procesSchemaImports(Document document, Collection schemaImportCollection) throws SAXException, argument
516 document.getElementsByTagNameNS("http://www.w3.org/2001/XMLSchema", "import");
520 private void procesWsdlImports(Document document, Collectio argument
527 procesSchemaIncludes(Document document, Collection schemaIncludeCollection) argument
534 procesWsdlIncludes(Document document, Collection wsdlIncludesCollection) argument
[all...]
H A DWsUtil.java217 // If the request is for the main wsdl document, return
222 // For relative document imports. These documents do not
254 // if the requested file is the main wsdl document, we are going
394 * Collect all relative imports from a web service's main wsdl document.
419 Document document = builder.parse(is);
420 procesSchemaImports(document, schemaRelativeImports);
421 procesWsdlImports(document, wsdlRelativeImports);
422 procesSchemaIncludes(document, schemaIncludes);
423 procesWsdlIncludes(document, wsdlIncludes);
473 private void procesSchemaImports(Document document, Collectio argument
480 procesWsdlImports(Document document, Collection wsdlImportCollection) argument
487 procesSchemaIncludes(Document document, Collection schemaIncludeCollection) argument
494 procesWsdlIncludes(Document document, Collection wsdlIncludesCollection) argument
[all...]
/glassfish-3.1.2/admin/util/src/main/java/org/glassfish/admin/cli/resources/
H A DResourcesXMLParser.java90 private Document document; field in class:ResourcesXMLParser
169 *Parse the XML Properties file and populate it into document object
190 document = builder.parse(is);
249 String publicId = document.getDoctype().getPublicId();
250 String systemId = document.getDoctype().getSystemId();
260 * Get All the resources from the document object.
265 if (document != null) {
266 for (Node nextKid = document.getDocumentElement().getFirstChild();
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/util/
H A DRestUtil.java577 public static List<String> getChildResourceList(String document) throws SAXException, IOException, ParserConfigurationException { argument
579 Document doc = MiscUtil.getDocument(document);
/glassfish-3.1.2/tests/community/web/jruby/helloapp/public/javascripts/
H A Dprototype.js12 XPath: !!document.evaluate
216 var div = document.createElement('div');
217 var text = document.createTextNode(this);
223 var div = document.createElement('div');
1073 element = document.getElementById(element);
1078 document._getElementsByXPath = function(expression, parentElement) {
1080 var query = document.evaluate(expression, $(parentElement) || document,
1088 document.getElementsByClassName = function(className, parentElement) {
1091 return document
[all...]
/glassfish-3.1.2/tests/embedded/maven-plugin/websockets/src/main/webapp/javascripts/
H A Dprototype.js160 element = document.getElementById(element);
192 var div = document.createElement('div');
193 var text = document.createTextNode(this);
199 var div = document.createElement('div');
862 document.getElementsByClassName = function(className, parentElement) {
863 var children = ($(parentElement) || document.body).getElementsByTagName('*');
962 if (document.defaultView && document.defaultView.getComputedStyle) {
963 var css = document.defaultView.getComputedStyle(element, null);
1080 var div = document
[all...]

Completed in 148 milliseconds