Searched refs:nsContext (Results 1 - 25 of 36) sorted by relevance

12

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/output/
H A DXMLEventWriterOutput.java60 public void startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext) throws IOException, SAXException, XMLStreamException { argument
61 super.startDocument(serializer, fragment,nsUriIndex2prefixIndex,nsContext);
77 nsContext.getPrefix(prefix),
78 nsContext.getNamespaceURI(prefix),
81 NamespaceContextImpl.Element nse = nsContext.getCurrent();
98 nsContext.getPrefix(prefix),
99 nsContext.getNamespaceURI(prefix),
112 nsContext.getPrefix(prefix),
113 nsContext.getNamespaceURI(prefix),
H A DSAXOutput.java61 public void startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext) throws SAXException, IOException, XMLStreamException { argument
62 super.startDocument(serializer, fragment,nsUriIndex2prefixIndex,nsContext);
74 elementNsUri = nsContext.getNamespaceURI(prefix);
87 nsUri = nsContext.getNamespaceURI(prefix);
88 String p = nsContext.getPrefix(prefix);
102 NamespaceContextImpl.Element ns = nsContext.getCurrent();
118 nsContext.getNamespaceURI(prefix),
123 NamespaceContextImpl.Element ns = nsContext.getCurrent();
138 String p = nsContext.getPrefix(prefix);
H A DDOMOutput.java59 Object op = nsContext.getCurrent().getOuterPeer();
63 Object ip = nsContext.getCurrent().getInnerPeer();
H A DInPlaceDOMOutput.java54 Object op = nsContext.getCurrent().getOuterPeer();
58 Object ip = nsContext.getCurrent().getInnerPeer();
H A DXmlOutputAbstractImpl.java60 public void startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext) throws IOException, SAXException, XMLStreamException { argument
62 this.nsContext = nsContext;
80 * At this point {@link #nsContext} holds namespace declarations needed for this
135 protected NamespaceContextImpl nsContext; field in class:XmlOutputAbstractImpl
H A DMTOMXmlOutput.java59 public void startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext) throws IOException, SAXException, XMLStreamException { argument
60 super.startDocument(serializer,fragment,nsUriIndex2prefixIndex, nsContext);
61 next.startDocument(serializer, fragment, nsUriIndex2prefixIndex, nsContext);
77 this.nsUri = nsContext.getNamespaceURI(prefix);
117 nsContext.getCurrent().push();
118 int prefix = nsContext.declareNsUri(WellKnownNamespace.XOP,"xop",false);
123 nsContext.getCurrent().pop();
H A DUTF8XmlOutput.java112 public void startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext) throws IOException, SAXException, XMLStreamException { argument
113 super.startDocument(serializer, fragment,nsUriIndex2prefixIndex,nsContext);
159 int total = nsContext.count();
160 NamespaceContextImpl.Element ns = nsContext.getCurrent();
173 int size = nsContext.count();
175 String p = nsContext.getPrefix(i);
192 NamespaceContextImpl.Element ns = nsContext.getCurrent();
193 int size = nsContext.count();
203 String p = nsContext.getPrefix(prefixIndex);
206 if(nsContext
[all...]
H A DFastInfosetStreamWriterOutput.java253 int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext)
255 super.startDocument(serializer, fragment, nsUriIndex2prefixIndex, nsContext);
270 if (nsContext.getCurrent().count() == 0) {
282 nsContext.getPrefix(prefixIndex),
283 nsContext.getNamespaceURI(prefixIndex));
291 final NamespaceContextImpl.Element nse = nsContext.getCurrent();
313 nsContext.getPrefix(prefixIndex),
314 nsContext.getNamespaceURI(prefixIndex));
338 nsContext.getPrefix(prefix),
339 nsContext
252 startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext) argument
[all...]
H A DXMLStreamWriterOutput.java87 public void startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext) throws IOException, SAXException, XMLStreamException { argument
88 super.startDocument(serializer, fragment,nsUriIndex2prefixIndex,nsContext);
104 nsContext.getPrefix(prefix),
106 nsContext.getNamespaceURI(prefix));
108 NamespaceContextImpl.Element nse = nsContext.getCurrent();
124 nsContext.getPrefix(prefix),
125 nsContext.getNamespaceURI(prefix),
H A DForkXmlOutput.java51 public void startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext) throws IOException, SAXException, XMLStreamException { argument
52 lhs.startDocument(serializer, fragment, nsUriIndex2prefixIndex, nsContext);
53 rhs.startDocument(serializer, fragment, nsUriIndex2prefixIndex, nsContext);
H A DC14nXmlOutput.java125 else return nsContext.getNamespaceURI(prefix);
193 int count = nsContext.getCurrent().count();
208 String p = nsContext.getPrefix(nsBuf[i]);
209 String q = nsContext.getPrefix(nsBuf[j]);
H A DXmlOutput.java117 public void startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext) throws IOException, SAXException, XMLStreamException; argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/unmarshaller/
H A DValidatingUnmarshaller.java45 private NamespaceContext nsContext = null; field in class:ValidatingUnmarshaller
66 public void startDocument(LocatorEx locator, NamespaceContext nsContext) throws SAXException { argument
67 this.nsContext = nsContext;
70 next.startDocument(locator,nsContext);
74 this.nsContext = null;
80 if(nsContext != null) {
83 validator.startPrefixMapping(tagNamePrefix, nsContext.getNamespaceURI(tagNamePrefix));
H A DXmlVisitor.java73 * @param nsContext
86 void startDocument(LocatorEx locator, NamespaceContext nsContext) throws SAXException; argument
H A DMTOMDecorator.java73 public void startDocument(LocatorEx loc, NamespaceContext nsContext) throws SAXException { argument
74 next.startDocument(loc,nsContext);
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/jaxp/
H A DJAXPPrefixResolver.java43 public JAXPPrefixResolver ( NamespaceContext nsContext ) {
44 this.namespaceContext = nsContext;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/
H A DXSComponent.java138 * @param nsContext
143 Collection<XSComponent> select(String scd, NamespaceContext nsContext); argument
154 * @param nsContext
160 XSComponent selectSingle(String scd, NamespaceContext nsContext); argument
H A DXSSchemaSet.java93 * @param nsContext
98 Collection<XSComponent> select(String scd, NamespaceContext nsContext); argument
108 * @param nsContext
114 XSComponent selectSingle(String scd, NamespaceContext nsContext); argument
H A DSCD.java69 * @param nsContext
73 public static SCD create(String path, NamespaceContext nsContext) throws java.text.ParseException { argument
75 SCDParser p = new SCDParser(path,nsContext);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/
H A DMtomCodec.java365 private NamespaceContext nsContext; field in class:MtomCodec.MtomStreamWriterImpl.MtomNamespaceContextEx
367 public MtomNamespaceContextEx(NamespaceContext nsContext) { argument
368 this.nsContext = nsContext;
376 return nsContext.getNamespaceURI(prefix);
380 return nsContext.getPrefix(namespaceURI);
384 return nsContext.getPrefixes(namespaceURI);
390 NamespaceContext nsContext = writer.getNamespaceContext();
391 return new MtomNamespaceContextEx(nsContext);
420 NamespaceContext nsContext
429 private NamespaceContext nsContext; field in class:MtomCodec.MtomXMLStreamReaderEx.MtomNamespaceContextEx
431 MtomNamespaceContextEx(NamespaceContext nsContext) argument
[all...]
/openjdk7/jaxp/src/javax/xml/xpath/
H A DXPath.java75 * set with {@link #setNamespaceContext(NamespaceContext nsContext)}.
161 * <p>A <code>NullPointerException</code> is thrown if <code>nsContext</code> is <code>null</code>.</p>
163 * @param nsContext Namespace context to use.
165 * @throws NullPointerException If <code>nsContext</code> is <code>null</code>.
167 public void setNamespaceContext(NamespaceContext nsContext); argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/
H A DComponentImpl.java123 public Collection<XSComponent> select(String scd, NamespaceContext nsContext) { argument
125 return SCD.create(scd,nsContext).select(this);
131 public XSComponent selectSingle(String scd, NamespaceContext nsContext) { argument
133 return SCD.create(scd,nsContext).selectSingle(this);
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/util/
H A DSAX2XNI.java90 private final NamespaceSupport nsContext = new NamespaceSupport(); field in class:SAX2XNI
110 nsContext.reset();
125 nsContext,
173 nsContext.pushContext();
174 nsContext.declarePrefix(prefix,uri);
178 nsContext.popContext();
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/
H A DXMLSerializer.java132 private final NamespaceContextImpl nsContext; field in class:XMLSerializer
192 nsContext = new NamespaceContextImpl(this);
260 int idx = nsContext.declareNsUri(nsUri, preferredPrefix, false);
270 int idx = nsContext.force(nsUri, forcedPrefix);
275 nsContext.collectionMode = false;
287 int p = nsContext.getPrefixIndex(WellKnownNamespace.XML_SCHEMA_INSTANCE);
420 prefix = nsContext.getPrefixIndex(uri);
439 return nsContext;
759 nsContext.declareNsUri(nsUri, p, true);
807 nsContext
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/api/
H A DBridge.java112 * @param nsContext
121 public void marshal(T object,OutputStream output, NamespaceContext nsContext) throws JAXBException { argument
122 marshal(object,output,nsContext,null);
127 public void marshal(T object,OutputStream output, NamespaceContext nsContext, AttachmentMarshaller am) throws JAXBException { argument
130 marshal(m,object,output,nsContext);
135 public final void marshal(@NotNull BridgeContext context,T object,OutputStream output, NamespaceContext nsContext) throws JAXBException { argument
136 marshal( ((BridgeContextImpl)context).marshaller, object, output, nsContext );
139 public abstract void marshal(@NotNull Marshaller m,T object,OutputStream output, NamespaceContext nsContext) throws JAXBException; argument

Completed in 159 milliseconds

12