API java : XMLConstants


javax.xml
Class XMLConstants

java.lang.Object
  extended by javax.xml.XMLConstants

public final class XMLConstants
extends Object

Utility class to contain basic XML values as constants.

Since:
1.5
See Also:
Extensible Markup Language (XML) 1.1, Extensible Markup Language (XML) 1.0 (Second Edition), XML 1.0 Second Edition Specification Errata, Namespaces in XML 1.1, Namespaces in XML, Namespaces in XML Errata, XML Schema Part 1: Structures

Field Summary
static String DEFAULT_NS_PREFIX
          Prefix to use to represent the default XML Namespace.
static String FEATURE_SECURE_PROCESSING
          Feature for secure processing.
static String NULL_NS_URI
          Namespace URI to use to represent that there is no Namespace.
static String RELAXNG_NS_URI
          RELAX NG Namespace URI.
static String W3C_XML_SCHEMA_INSTANCE_NS_URI
          W3C XML Schema Instance Namespace URI.
static String W3C_XML_SCHEMA_NS_URI
          W3C XML Schema Namespace URI.
static String W3C_XPATH_DATATYPE_NS_URI
          W3C XPath Datatype Namespace URI.
static String XML_DTD_NS_URI
          XML Document Type Declaration Namespace URI as an arbitrary value.
static String XML_NS_PREFIX
          The official XML Namespace prefix.
static String XML_NS_URI
          The official XML Namespace name URI.
static String XMLNS_ATTRIBUTE
          The official XML attribute used for specifying XML Namespace declarations.
static String XMLNS_ATTRIBUTE_NS_URI
          The official XML attribute used for specifying XML Namespace declarations, XMLConstants.XMLNS_ATTRIBUTE, Namespace name URI.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_NS_URI

public static final String NULL_NS_URI

Namespace URI to use to represent that there is no Namespace.

Defined by the Namespace specification to be "".

See Also:
Namespaces in XML, 5.2 Namespace Defaulting, Constant Field Values

DEFAULT_NS_PREFIX

public static final String DEFAULT_NS_PREFIX

Prefix to use to represent the default XML Namespace.

Defined by the XML specification to be "".

See Also:
Namespaces in XML, 3. Qualified Names, Constant Field Values

XML_NS_URI

public static final String XML_NS_URI

The official XML Namespace name URI.

Defined by the XML specification to be "http://www.w3.org/XML/1998/namespace".

See Also:
Namespaces in XML, 3. Qualified Names, Constant Field Values

XML_NS_PREFIX

public static final String XML_NS_PREFIX

The official XML Namespace prefix.

Defined by the XML specification to be "xml".

See Also:
Namespaces in XML, 3. Qualified Names<, Constant Field Values

XMLNS_ATTRIBUTE_NS_URI

public static final String XMLNS_ATTRIBUTE_NS_URI

The official XML attribute used for specifying XML Namespace declarations, XMLConstants.XMLNS_ATTRIBUTE, Namespace name URI.

Defined by the XML specification to be "http://www.w3.org/2000/xmlns/".

See Also:
Namespaces in XML, 3. Qualified Names, Namespaces in XML Errata, Constant Field Values

XMLNS_ATTRIBUTE

public static final String XMLNS_ATTRIBUTE

The official XML attribute used for specifying XML Namespace declarations.

It is NOT valid to use as a prefix. Defined by the XML specification to be "xmlns".

See Also:
Namespaces in XML, 3. Qualified Names, Constant Field Values

W3C_XML_SCHEMA_NS_URI

public static final String W3C_XML_SCHEMA_NS_URI

W3C XML Schema Namespace URI.

Defined to be "http://www.w3.org/2001/XMLSchema".

See Also:
XML Schema Part 1: Structures, 2.6 Schema-Related Markup in Documents Being Validated, Constant Field Values

W3C_XML_SCHEMA_INSTANCE_NS_URI

public static final String W3C_XML_SCHEMA_INSTANCE_NS_URI

W3C XML Schema Instance Namespace URI.

Defined to be "http://www.w3.org/2001/XMLSchema-instance".

See Also:
XML Schema Part 1: Structures, 2.6 Schema-Related Markup in Documents Being Validated, Constant Field Values

W3C_XPATH_DATATYPE_NS_URI

public static final String W3C_XPATH_DATATYPE_NS_URI

W3C XPath Datatype Namespace URI.

Defined to be "http://www.w3.org/2003/11/xpath-datatypes".

See Also:
XQuery 1.0 and XPath 2.0 Data Model, Constant Field Values

XML_DTD_NS_URI

public static final String XML_DTD_NS_URI

XML Document Type Declaration Namespace URI as an arbitrary value.

Since not formally defined by any existing standard, arbitrarily define to be "http://www.w3.org/TR/REC-xml".

See Also:
Constant Field Values

RELAXNG_NS_URI

public static final String RELAXNG_NS_URI

RELAX NG Namespace URI.

Defined to be "http://relaxng.org/ns/structure/1.0".

See Also:
RELAX NG Specification, Constant Field Values

FEATURE_SECURE_PROCESSING

public static final String FEATURE_SECURE_PROCESSING

Feature for secure processing.

  • true instructs the implementation to process XML securely. This may set limits on XML constructs to avoid conditions such as denial of service attacks.
  • false instructs the implementation to process XML acording the letter of the XML specifications ingoring security issues such as limits on XML constructs to avoid conditions such as denial of service attacks.

See Also:
Constant Field Values

Ces informations proviennent du site de http://java.sun.com

Remarques

Contenu

Le contenu de cette page provient du site de Sun, et est généré depuis un cache sur l'infobrol après certains traitements automatisés. La présentation peut donc différer du document original, mais le contenu aussi. Vous pouvez utiliser ce bouton pour afficher la page originale du site de Sun :

Quels sont les motivations de cette démarche?

Maintenir les pages en cache sur différents sites peut offrir plus de disponibilité.

Chaque page est indexée dans la base de donnée, ce qui permet de retrouver facilement les informations, au moyen des sommaires, du moteur de recherche interne, etc.

Des facilités sont mises en place pour que les membres de l'infobrol puissent effectuer des traductions en français des différents documents. Ceci devrait permettre aux débutants en programmation Java de consulter les API en français s'ils maîtrisent moins bien la langue de Shakespeare. Dans le cas où une traduction a été soumise, elle est disponible au moyen d'un lien en bas de page. Si la traduction a été validée, la page s'affiche par défaut en français, et un lien en bas de page permet d'atteindre la version en anglais.

Le code sur l'infobrol est automatiquement coloré selon la syntaxe, et les différents mots clés sont transformés en liens pour accéder rapidement aux informations.

Vous avez la possibilité de partager vos expériences en proposant vos propres extraits de code en utilisant le bouton "ajouter un commentaire" en bas de page. Si vous visitez simplement l'infobrol, vous avez déjà accès à cette fonction, mais si vous étes membre du brol, vous pouvez en plus utiliser des boutons supplémentaires de mise en forme, dont la coloration automatique de vos extraits de codes.

Réseaux sociaux

Vous pouvez modifier vos préférences dans votre profil pour ne plus afficher les interactions avec les réseaux sociaux sur ces pages.

 

Nuage de mots clés

6 mots clés dont 0 définis manuellement (plus d'information...).

Avertissement

Cette page ne possède pas encore de mots clés manuels, ceci est donc un exemple automatique (les niveaux de pertinence sont fictifs, mais les liens sont valables). Pour tester le nuage avec une page qui contient des mots définis manuellement, vous pouvez cliquer ici.

Vous pouvez modifier vos préférences dans votre profil pour ne plus afficher le nuage de mots clés.

 

Astuce pour imprimer les couleurs des cellules de tableaux : http://www.gaudry.be/ast-rf-450.html
Aucun commentaire pour cette page

© Ce document issu de l′infobrol est enregistré sous le certificat Cyber PrInterDeposit Digital Numbertection. Enregistrement IDDN n° 5329-1197
Document créé le 28/08/06 20:31, dernière modification le Vendredi 17 Juin 2011, 12:12
Source du document imprimé : http://www.gaudry.be/java-api-rf-javax/xml/XMLConstants.html Document affiché 1 fois ce mois de Juin.
St.Gaudry©07.01.02
Outils (masquer)
||
Recherche (afficher)
Recherche :

Utilisateur (masquer)
Apparence (afficher)
Stats (afficher)
15832 documents
452 astuces.
549 niouzes.
3099 definitions.
447 membres.
8115 messages.

Document genere en :
0,37 seconde

Mises à jour :
Mises à jour du site
Citation (masquer)
Pensez qu'il y a un million de singes derrière un million de claviers, mais n'imaginez pas que les forums aient quoi que ce soit de comparable avec Shakespeare.

Blair Houghton
 
l'infobrol
Nous sommes le Samedi 02 Juin 2012, 09:30, toutes les heures sont au format GMT+1.00 Heure, heure d'été (+1)