Searched defs:namespace (Results 1 - 25 of 66) sorted by relevance

123

/external/smack/src/org/jivesoftware/smack/filter/
H A DPacketExtensionFilter.java33 private String namespace; field in class:PacketExtensionFilter
38 * and namespace.
41 * @param namespace the XML namespace of the packet extension.
43 public PacketExtensionFilter(String elementName, String namespace) { argument
45 this.namespace = namespace;
50 * extension that matches the specified namespace.
52 * @param namespace the XML namespace o
54 PacketExtensionFilter(String namespace) argument
[all...]
/external/apache-xml/src/main/java/org/apache/xalan/extensions/
H A DExtensionNamespaceSupport.java29 * namespace the stylesheet uses. At the beginning of a transformation, TransformerImpl generates
41 public ExtensionNamespaceSupport(String namespace, argument
45 m_namespace = namespace;
H A DExtensionNamespacesManager.java29 * extension namespace that is required during the transformation process
53 * objects is created, one for each predefined extension namespace.
61 * If necessary, register the extension namespace found compiling a function or
64 * If it is a predefined namespace, create a
66 * during transformation runtime. Otherwise, add the namespace, if necessary,
70 public void registerExtension(String namespace) argument
72 if (namespaceIndex(namespace, m_extensions) == -1)
74 int predef = namespaceIndex(namespace, m_predefExtensions);
77 else if (!(m_unregisteredExtensions.contains(namespace)))
78 m_unregisteredExtensions.add(namespace);
103 namespaceIndex(String namespace, Vector extensions) argument
[all...]
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DNSInfo.java24 * This class holds information about the namespace info
25 * of a node. It is used to optimize namespace lookup in
77 * @param namespace The namespace URI
81 public NSInfo(String namespace, boolean hasXMLNSAttrs) argument
86 m_namespace = namespace;
90 /** The namespace URI */
/external/smack/src/org/jivesoftware/smack/packet/
H A DDefaultPacketExtension.java50 private String namespace; field in class:DefaultPacketExtension
57 * @param namespace the namespace of the element.
59 public DefaultPacketExtension(String elementName, String namespace) { argument
61 this.namespace = namespace;
74 * Returns the XML namespace of the extension sub-packet root element.
76 * @return the XML namespace of the packet extension.
79 return namespace;
84 buf.append("<").append(elementName).append(" xmlns=\"").append(namespace)
[all...]
/external/smack/src/org/jivesoftware/smackx/
H A DOfflineMessageManager.java58 private final static String namespace = "http://jabber.org/protocol/offline"; field in class:OfflineMessageManager
67 new AndFilter(new PacketExtensionFilter("offline", namespace),
81 return info.containsFeature(namespace);
93 namespace);
115 null, namespace);
150 namespace);
H A DXHTMLManager.java41 private final static String namespace = "http://jabber.org/protocol/xhtml-im"; field in class:XHTMLManager
61 XHTMLExtension xhtmlExtension = (XHTMLExtension) message.getExtension("html", namespace);
75 XHTMLExtension xhtmlExtension = (XHTMLExtension) message.getExtension("html", namespace);
92 return message.getExtension("html", namespace) != null;
109 ServiceDiscoveryManager.getInstanceFor(connection).addFeature(namespace);
112 ServiceDiscoveryManager.getInstanceFor(connection).removeFeature(namespace);
123 return ServiceDiscoveryManager.getInstanceFor(connection).includesFeature(namespace);
137 return result.containsFeature(namespace);
H A DPrivateDataManager.java41 * XML namespace. Example private data:
51 * If no PrivateDataProvider is registered for a given element name and namespace, then
68 * Returns the private data provider registered to the specified XML element name and namespace.
70 * namespace "http://www.xmppclient.com/prefs", then the following packet would trigger
86 * @param namespace the XML namespace.
89 public static PrivateDataProvider getPrivateDataProvider(String elementName, String namespace) { argument
90 String key = getProviderKey(elementName, namespace);
99 * @param namespace the XML namespace
102 addPrivateDataProvider(String elementName, String namespace, PrivateDataProvider provider) argument
115 removePrivateDataProvider(String elementName, String namespace) argument
178 getPrivateData(final String elementName, final String namespace) argument
270 getProviderKey(String elementName, String namespace) argument
[all...]
/external/smack/src/org/jivesoftware/smackx/packet/
H A DDefaultPrivateData.java53 private String namespace; field in class:DefaultPrivateData
60 * @param namespace the namespace of the element.
62 public DefaultPrivateData(String elementName, String namespace) { argument
64 this.namespace = namespace;
77 * Returns the XML namespace of the private data sub-packet root element.
79 * @return the XML namespace of the packet extension.
82 return namespace;
87 buf.append("<").append(elementName).append(" xmlns=\"").append(namespace)
[all...]
/external/smack/src/org/jivesoftware/smackx/pubsub/
H A DSimplePayload.java32 * namespace and content. The content must be well formed XML.
35 * @param namespace The namespace of the payload, null if there is none
38 public SimplePayload(String elementName, String namespace, String xmlPayload) argument
42 ns = namespace;
H A DPubSubElementType.java68 public static PubSubElementType valueOfFromElemName(String elemName, String namespace) argument
70 int index = namespace.lastIndexOf('#');
71 String fragment = (index == -1 ? null : namespace.substring(index+1));
/external/apache-xml/src/main/java/org/apache/xalan/serialize/
H A DSerializerUtils.java150 * to copy an individual namespace node.
170 for (int namespace = dtm.getFirstNamespaceNode(src, true);
171 DTM.NULL != namespace;
172 namespace = dtm.getNextNamespaceNode(src, namespace, true))
175 // String prefix = dtm.getPrefix(namespace);
176 String prefix = dtm.getNodeNameX(namespace);
179 String srcURI = dtm.getNodeValue(namespace);
207 * Returns whether a namespace is defined
213 * @return True if the namespace i
248 ensureNamespaceDeclDeclared( SerializationHandler handler, DTM dtm, int namespace) argument
[all...]
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
H A DExtendedType.java30 private String namespace; field in class:ExtendedType
35 * Create an ExtendedType object from node type, namespace and local name.
36 * The hash code is calculated from the node type, namespace and local name.
39 * @param namespace Namespace of the node
42 public ExtendedType (int nodetype, String namespace, String localName) argument
45 this.namespace = namespace;
47 this.hash = nodetype + namespace.hashCode() + localName.hashCode();
51 * Create an ExtendedType object from node type, namespace, local name
55 * @param namespace Namespac
59 ExtendedType(int nodetype, String namespace, String localName, int hash) argument
72 redefine(int nodetype, String namespace, String localName) argument
85 redefine(int nodetype, String namespace, String localName, int hash) argument
[all...]
/external/apache-xml/src/main/java/org/apache/xalan/templates/
H A DElemExtensionCall.java96 // Register the extension namespace if the extension does not have
107 * @param namespace Namespace associated with this extension element
112 String namespace)
132 if (namespace.equals(declNamespace))
111 getElemExtensionDecl(StylesheetRoot stylesheet, String namespace) argument
/external/emma/core/java12/com/vladium/util/exception/
H A DAbstractException.java293 * 'namespace' should be YourException.class.
295 public static void addExceptionResource (final Class namespace, argument
298 // note: 'namespace' will be the most derived class; it is possible to
301 ExceptionCommon.addExceptionResource (namespace, messageResourceBundleName);
H A DAbstractRuntimeException.java293 * 'namespace' should be YourException.class.
295 public static void addExceptionResource (final Class namespace, argument
298 // note: 'namespace' will be the most derived class; it is possible to
301 ExceptionCommon.addExceptionResource (namespace, messageResourceBundleName);
H A DExceptionCommon.java52 * <LI> when <CODE>getMessage(namespace, code)</CODE> is called, 'code'
54 * under 'namespace';
57 * key 'code', the same step is repeated for the superclass of 'namespace';
73 * @param namespace the Class object acting as the namespace key for the
77 * @param messageResourceBundleName name of a bundle (path relative to 'namespace'
81 * @return ResourceBundle that corresponds to 'namespace' key or null if
84 * @throws Error if 'namespace' does not correspond to an exception class derived
89 public static ResourceBundle addExceptionResource (final Class namespace, argument
92 if ((namespace !
259 getMessage(final Class namespace, final String code) argument
314 getMessage(final Class namespace, final String code, final Object [] arguments) argument
373 lookup(Class namespace, final String propertyName) argument
432 getNameInNamespace(final Class namespace, final String name) argument
[all...]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/
H A DSubtitleSampleEntry.java21 private String namespace; field in class:SubtitleSampleEntry
31 long contentSize = 8 + namespace.length() + schemaLocation.length() + imageMimeType.length() + 3;
38 namespace = IsoTypeReader.readString(content);
47 IsoTypeWriter.writeUtf8String(byteBuffer, namespace);
53 return namespace;
56 public void setNamespace(String namespace) { argument
57 this.namespace = namespace;
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
H A DAttrResourceLoader.java41 public String convertValueToEnum(Class<? extends View> viewClass, String namespace, String attrName, String attrValue) { argument
42 boolean isSystem = "android".equals(namespace);
47 public boolean hasAttributeFor(Class<? extends View> viewClass, String namespace, String attrName) { argument
48 boolean isSystem = "android".equals(namespace);
/external/smack/src/org/jivesoftware/smack/provider/
H A DProviderManager.java58 * &lt;namespace&gt;jabber:iq:time&lt;/namespace&gt;
63 * Each IQ provider is associated with an element name and a namespace. If multiple provider
64 * entries attempt to register to handle the same namespace, the first entry loaded from the
85 * A pluggable system for packet extensions, child elements in a custom namespace for
94 * &lt;namespace&gt;jabber:iq:event&lt;/namespace&gt;
99 * If multiple provider entries attempt to register to handle the same element name and namespace,
106 * extension provider is not registered for an element name and namespace combination, Smack will
179 String namespace
283 getIQProvider(String elementName, String namespace) argument
308 addIQProvider(String elementName, String namespace, Object provider) argument
329 removeIQProvider(String elementName, String namespace) argument
353 getExtensionProvider(String elementName, String namespace) argument
367 addExtensionProvider(String elementName, String namespace, Object provider) argument
386 removeExtensionProvider(String elementName, String namespace) argument
409 getProviderKey(String elementName, String namespace) argument
[all...]
/external/apache-xml/src/main/java/org/apache/xpath/functions/
H A DFuncExtFunction.java48 * The namespace for the extension function, which should not normally
102 * Return the namespace of the extension function.
104 * @return The namespace of the extension function.
158 * @param namespace The namespace for the extension function, which should
165 public FuncExtFunction(java.lang.String namespace, argument
168 //try{throw new Exception("FuncExtFunction() " + namespace + " " + extensionName);} catch (Exception e){e.printStackTrace();}
169 m_namespace = namespace;
/external/emma/core/java12/com/vladium/util/
H A DProperty.java91 * Creates a set of properties for an application with a given namespace.
94 * @param namespace application namespace [may not be null]
100 public static Properties getAppProperties (final String namespace, final ClassLoader loader) argument
102 if (namespace == null)
105 final Properties appDefaults = Property.getProperties (namespace + "_default.properties", loader);
108 final String fileName = Property.getSystemProperty (namespace + ".properties");
115 final Properties systemOverrides = Property.getSystemProperties (namespace);
116 final Properties resOverrides = Property.getProperties (namespace + ".properties", loader);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/util/
H A DTestAttributeSet.java54 public boolean getAttributeBooleanValue(String namespace, String attribute, boolean defaultValue) { argument
55 String value = getAttributeValueInMap(namespace, attribute);
60 public String getAttributeValue(String namespace, String attribute) { argument
61 return getAttributeValueInMap(namespace, attribute);
65 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { argument
66 String value = getAttributeValueInMap(namespace, attribute);
101 public int getAttributeListValue(String namespace, String attribute, String[] options, int defaultValue) { argument
106 public int getAttributeUnsignedIntValue(String namespace, String attribute, int defaultValue) { argument
111 public float getAttributeFloatValue(String namespace, String attribute, float defaultValue) { argument
112 String value = getAttributeValueInMap(namespace, attribut
132 getAttributeResourceValue(String namespace, String attribute, int defaultValue) argument
196 getAttributeValueInMap(String namespace, String attribute) argument
[all...]
/external/smack/src/org/jivesoftware/smack/util/
H A DPacketParserUtils.java102 String namespace = parser.getNamespace();
136 namespace.equals(PROPERTIES_NAMESPACE))
143 PacketParserUtils.parsePacketExtension(elementName, namespace, parser));
218 String namespace = parser.getNamespace();
248 namespace.equals(PROPERTIES_NAMESPACE))
259 presence.addExtension(PacketParserUtils.parsePacketExtension(elementName, namespace, parser));
297 String namespace = parser.getNamespace();
301 else if (elementName.equals("query") && namespace.equals("jabber:iq:auth")) {
304 else if (elementName.equals("query") && namespace.equals("jabber:iq:roster")) {
307 else if (elementName.equals("query") && namespace
789 parsePacketExtension(String elementName, String namespace, XmlPullParser parser) argument
[all...]
/external/tagsoup/src/org/ccil/cowan/tagsoup/
H A DElement.java83 Return the namespace name of the element's type.
85 @return The element type namespace name
88 public String namespace() { return theType.namespace(); } method in class:Element

Completed in 7575 milliseconds

123